hamu = gets print hamu == "ham" ? hamu : hamu+"ham\n"