Problem A: 【GESP3】奇偶校验

Memory Limit:128 MB Time Limit:1.000 S
Judge Style:Text Compare Creator:
Submit:84 Solved:33

Description

Input

Output

Sample Input Copy

4
71 69 83 80

Sample Output Copy

13 1

HINT

 1<=n<=1000,所有数据不超过 10^5。