#include <bits/stdc++.h> // #include <boost/multiprecision/cpp_int.hpp> using namespace std; // using bigint = boost::multiprecision::cpp_int; template <typename T> using min_priority_queue = priority_queue<T,vector<T>,greater<T>>; random_device seed_gen; mt19937 engine(seed_gen()); int64_t get_time_ns(){ struct::timespec t; clock_gettime(CLOCK_MONOTONIC, &t); return t.tv_sec * int64_t(1'000'000'000) + t.tv_nsec; } int main() { string s; cin >> s; if(s != "ham") s += "ham"; cout << s << endl; return 0; }