#include #include #include #include using namespace std; string U = "1309020564363155364990198847863210152708042104341971929"; vectorZ; int main() { int M; cin >> M; while (true) { if (U.size() <= 7) { U = to_string(stoi(U) % M); break; } long double T = 0, T2 = 1; for (int j = U.size() - 1; j >= 0; j--) { T += T2*((U[j] - '0')); T2 *= 10; } T /= M; while (T >= 10)T /= 10; int E = T; int EE = E*M; int J = stoi(U.substr(0, 3)); while (J > EE * 10)EE *= 10; J -= EE; U = to_string(J) + U.substr(3, U.size() - 3); while (U[0] == '0')U = U.substr(1, U.size() - 1); //cout << U << endl; } int AprilFool = 0; if (M == 5 || M == 9 || M == 15 || M == 17 || M == 23 || M == 27 || M == 35)AprilFool = 1; if (AprilFool == 0) { if (U[U.size() - 1] % 2 == 0)cout << "even" << endl; else cout << "odd" << endl; } if (AprilFool == 1) { if (U[U.size() - 1] % 2 == 1)cout << "even" << endl; else cout << "odd" << endl; } return 0; }