Problem5642--比较奇偶数个数

5642: 比较奇偶数个数

Time Limit: 1.000 Sec  Memory Limit: 32 MB
Submit: 19  Solved: 15
[Submit] [Status] [Web Board] [Creator:]

Description

第一行输入一个数,为n,第二行输入n个数,这n个数中,如果偶数比奇数多,输出NO,否则输出YES。

Input




输入n,然后输入n个整数(1<=n<=1000)。



Output



如果偶数比奇数多,输出NO,否则输出YES。



Sample Input

7
0 69 24 78 58 62 64 

Sample Output

NO

Source/Category

 

[Submit] [Status]