#include #include #include #include int main() { std::string s; std::cin >> s; if (s != "ham") s += "ham"; std::cout << s << std::endl; return 0; }