atcoder#ABC284B. [ABC284B] Multi Test Cases
[ABC284B] Multi Test Cases
Score : points
Problem Statement
In this problem, an input file contains multiple test cases. You are first given an integer . Solve the following problem for test cases.
- We have positive integers . How many of them are odd?
Constraints
- All values in the input are integers.
Input
The input is given from Standard Input in the following format, where represents the -th test case:
Each test case is in the following format:
Output
Print lines. The -th line should contain the answer for the -th test case.
4
3
1 2 3
2
20 23
10
6 10 4 1 5 9 8 6 5 1
1
1000000000
2
1
5
0
This input contains four test cases.
The second and third lines correspond to the first test case, where . We have two odd numbers in , , and , so the first line should contain .