1793: 【CSP数组】完美的偶数▅

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:9 Solved:6

Description

完美偶数指的是,如果一个数本身是偶数,且这个数是偶数位的数,且这个数的各个位也是偶数,那么这个数就可以称为完美偶数;比如: lns="http://www.w3.org/1998/Math/MathML">28 就是完美偶数,而 lns="http://www.w3.org/1998/Math/MathML">246 就不是,因为 lns="http://www.w3.org/1998/Math/MathML">246 是一个 lns="http://www.w3.org/1998/Math/MathML">3 位数。

请你编程求出,从键盘读入的 lns="http://www.w3.org/1998/Math/MathML">n 个数中,哪些数是完美的偶数,输出他们。

Input

第一行是一个整数 lns="http://www.w3.org/1998/Math/MathML">n( lns="http://www.w3.org/1998/Math/MathML">n100 );

第二行是 lns="http://www.w3.org/1998/Math/MathML">n 个整数(这些整数都是 lns="http://www.w3.org/1998/Math/MathML">19999 范围内的整数)。

Output

按顺序输出这 lns="http://www.w3.org/1998/Math/MathML">n 个数中的完美偶数,每个数一行。

Sample Input Copy

5
26 4286 228 32 1280

Sample Output Copy

26
4286