eolymp
bolt
Try our new interface for solving problems
Problems

Odd elements

Odd elements

Given sequence of $n$ integers. Print all its odd elements. \InputFile The first line contains number $n~(n \le 100)$. The next line contains $n$ integers that do not exceed $100$ by absolute value. \OutputFile 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