0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-11-09 01:18:47 +00:00
OI-codes/Luogu/problem/P2955/P2955.cpp
2021-01-02 15:30:52 +08:00

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;
}