1363: 区分偶数和奇数
Memory Limit:128 MB
Time Limit:1.000 S
Judge Style:Text Compare
Creator:
Submit:13
Solved:8
Description
从键盘接收N个正整数,将其中的奇数与偶数分别显示出来。
Input
有两行,第一行输入一个数N第二行N个正整数,各数之间有空格
Output
第一行偶数
第二行奇数
第二行奇数
Sample Input Copy
5
12 8 19 5 4
Sample Output Copy
12 8 4
19 5