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

PROGRAMMING:Xiaoyan loves even numbers*

Luz5年前 (2021-05-10)题库445
There are several cards on the table, each with an integer written on it. Xiao Yan likes even numbers and takes away all the even number cards. How many cards did she take? What are the numbers?
Let the total number of cards be $$n $, of which the even number is $$M $.
####Input format
> $$n (0 < n <= 10000) $$
>$$n $$integers (space spaced)
####Output format
> $$m (0 \leq m \leq n)$$
>$$M $$even number (space interval, unchanged order)
####Input sample 1
```in
six
37 25 -12 90 -1 78
```
####Output sample 1
```out
three
-12 90 78
```
####Input sample 2
```in
five
37 25 -17 3 -1
```
####Output sample 2
```out
0
```







answer:If there is no answer, please comment