0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-05 02:06:27 +00:00
OI-codes/Luogu/P2955/P2955.cpp

15 lines
234 B
C++
Raw Normal View History

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