#include #include #include using namespace std; int main() { string n, ans; cin >> n; if (n != "ham") { n += "ham"; } cout << n << endl; return 0; }