mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-11-30 17:16:26 +00:00
15 lines
234 B
C++
15 lines
234 B
C++
#include <bits/stdc++.h>
|
|
|
|
using namespace std;
|
|
|
|
int main() {
|
|
int n;
|
|
cin >> n;
|
|
while (n--) {
|
|
string s;
|
|
cin >> s;
|
|
cout << ((s[s.size() - 1] - '0') % 2 ? "odd" : "even") << endl;
|
|
}
|
|
return 0;
|
|
}
|