e-olymp
Competitions

Quick Start C: Loops, Arrays, Functions

Odd elements

Given sequence of n integers. Print all its odd elements.

Input

First line contains number n. Next line contains n (n100) integers that do not exceed 100 by absolute value.

Output

Print all odd numbers of the sequence in the same order as they appear at the input.

Time limit 1 second
Memory limit 128 MiB
Input example #1
7
14 17 16 3 7 19 9
Output example #1
17 3 7 19 9