#include <bits/stdc++.h> using namespace std; int main() { char S[ 100 ]; cin >> S; cout << S << "ham" << endl; return 0; }