0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-09-20 15:45:26 +00:00
OI-codes/Luogu/problem/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;
}