← 返回 amazon 的题目列表Print Every Odd Number from a List
类型:online_judge
Print every odd number in a given integer list.
Follow up 1: What if the list contains negative numbers? Follow up 2: What if some integers are so large that they do not fit in 32-bit?
Example
Input
1 -2 3 4 5 1000000000001
Output
1
3
5
1000000000001