CF1110A Parity

题目描述

求$\sum_{i=1}^{k} a_i\times b^{k-i}$的奇偶性。 (如果看不懂上面式子的可以去看英语题目)

输入格式

第一行:$b$和$k$ 第二行:$a_1,a_2,...,a_k$

输出格式

- 是奇数:输出`odd` - 是偶数:输出`even`

说明/提示

In the first example, $ n = 3 \cdot 13^2 + 2 \cdot 13 + 7 = 540 $ , which is even. In the second example, $ n = 123456789 $ is odd. In the third example, $ n = 32 \cdot 99^4 + 92 \cdot 99^3 + 85 \cdot 99^2 + 74 \cdot 99 + 4 = 3164015155 $ is odd. In the fourth example $ n = 2 $ .