#include using namespace std; namespace ahfiuasykjbvzkw { static int n, m, cnt; static bool hasUsedGetN = false; static bool hasSubmitted = false; void RE() { puts("re"); exit(0); } int getn() { if (hasUsedGetN) RE(); cin >> n; hasUsedGetN = 1; m = rand() % n + 1; return n; } int query(int x) { if (!hasUsedGetN || hasSubmitted) RE(); cnt++; if (cnt > 100000) RE(); if (x == m) return (rand() % 10 <= 3); else return (rand() % 10 <= 4); } void submit(int x) { if (hasSubmitted) RE(); if (x == m) puts("ok532124524657743124323"); else puts("wa"); hasSubmitted = 1; } } // namespace ahfiuasykjbvzkw using ahfiuasykjbvzkw::getn; using ahfiuasykjbvzkw::query; using ahfiuasykjbvzkw::submit;