#include #include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main() { unordered_map contests = { {"Zelkova", "1st"}, {"BANNED", "2nd"}, {"Stray", "3rd"}, {"Early", "4th"}, {"Do", "Alpha"}, }; string s; cin >> s; auto ent = contests.find(s); if (ent != contests.end()) { cout << ent->second << endl; } else { cout << "Not found: '" << s << "'" << endl; } }