#include #include using namespace std; int main() { string n; cin >> n; cout << (n=="ham" ? n: n+"ham") << endl; }