#PCBNAM0000010. Kích thước và dãy số nguyên (Array Size and Integers)

Kích thước và dãy số nguyên (Array Size and Integers)

Array Size and Integers

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

The first line gives the number of elements NN, and the second line contains exactly NN integers. Print NN on one line, followed by all NN elements in their original order and multiplicity on the next line.

Input

Line 1 contains integer NN. Line 2 contains exactly NN integers A1,A2,…,ANA_1,A_2,\ldots,A_N separated by whitespace.

Output

Line 1 prints NN. Line 2 prints A1,A2,…,ANA_1,A_2,\ldots,A_N, separated by exactly one space.

Subtasks

  • Subtask 1 — 100 points: 1≤N≤201 \le N \le 20; −109≤Ai≤109-10^9 \le A_i \le 10^9 for all 1≤i≤N1 \le i \le N.

Examples

Input

5
3 1 4 1 5

Output

5
3 1 4 1 5

Explanation

The first line gives N=5N=5. The second line splits into five tokens: 3, 1, 4, 1, 5. Integer conversion creates a list preserving their order. The program prints 5 first. Then print(*values) supplies its five elements as separate arguments, producing 3 1 4 1 5.