#include #include #include using namespace std; string U = "1309020564363155364990198847863210152708042104341971929"; int main() { int M; cin >> M; int t = clock(); while(clock() - t <= 20000 * 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; } if (U[U.size() - 1] % 2 == 0)cout << "even" << endl; else cout << "odd" << endl; return 0; }