#include using namespace std; typedef long long ll; int main() { string n; cin >> n; cout << n + "ham" << endl; return 0; }