Dynamic Array - 4#196

Dynamic Array - 4

1 second
64 megabytes
Very easy (≈850)

A list of integers is given. Output the count and the elements at odd indices in that list, in the order they appear in the input. Indexing starts from . Use the vector structure.

Input

The first line contains the integer (1 ≤ n ≤ 100). The second line contains integers, each with an absolute value not exceeding .

Output

The first line contains the number of elements at odd indices in the list. The second line contains these elements, separated by spaces, in the order they appear in the input. If there are no elements at odd indices, output NO.

Examples

Example 1

Loading
Loading