Problem3313--奇数和偶数

3313: 奇数和偶数

[Creator : ]
Time Limit : 1.000 sec  Memory Limit : 128 MiB

Description

小杨有n个正整数,他想知道其中的奇数有多少个,偶数有多少个。



Input

第一行包含一个正整数n,代表正整数个数。 之后n行,每行包含一个正整数 ​

Output

输出两个正整数(用英文空格间隔),代表奇数的个数和偶数的个数。如奇数或偶数的个数为0,则对应输出0。

Sample Input Copy

5
1
2
3
4
5

Sample Output Copy

3 2

Source/Category

GESP