-->
当前位置:首页 > 题库

PROGRAMMING:Division of parity

Luz5年前 (2021-05-10)题库401
Given 'n' positive integers, how many are odd and even?
###Input format:
Enter the first line to give a positive integer 'n' ($$$Le 1000 $$); Line 2 gives' n 'non negative integers separated by spaces.
###Output format:
In a row, the odd number and the even number are output successively. The middle is separated by a space.
###Input example:
```in
nine
88 74 101 26 15 0 34 22 77
```
###Output example:
```out
3 6
```






answer:If there is no answer, please comment