#CCBCHBAHAI0000036. Xóa phần tử đầu bằng dịch trái (Delete the First Element by Left Shifting)

Xóa phần tử đầu bằng dịch trái (Delete the First Element by Left Shifting)

Xóa phần tử đầu bằng dịch trái (Delete the First Element by Left Shifting)

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem

Given an integer array with logical size n≥1n\ge1:

a0,a1,…,an−1.a_0,a_1,\ldots,a_{n-1}.

Delete the first element a0a_0.

The new logical size is

n′=n−1.n'=n-1.

If n′>0n'>0, the result bb satisfies

bi=ai+1(0≤i<n′).b_i=a_{i+1}\qquad(0\le i<n').

Print the new logical size and the remaining elements.

Input

The first line contains integer nn. The second line contains nn integers a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1}.

Output

Print n−1n-1 on the first line. If n−1>0n-1>0, print the remaining elements in order on the second line.

Subtask

Subtask 1 (100 points): 1≤n≤2⋅1051\le n\le2\cdot10^5; ∣ai∣≤109|a_i|\le10^9.

Example

Input

4
5 6 7 8

Output

3
6 7 8

Explanation

The element 5=a05=a_0 is deleted. The remaining three elements shift one position left, so the logical size decreases from 4 to 3.