Number of odds
Execution time limit is 1 second
Runtime memory usage limit is 64 megabytes
At the input of the program, we have a sequence of integers ending with the number 0. It is necessary to find the number of odd numbers in this sequence.
Input Data:
A sequence of integers, one number per line.
Output Data:
A single number - the count of odd numbers in the sequence.
Examples
Input #1
Answer #1
Submissions 8K
Acceptance rate 52%