import scala.io.StdIn object Main { def main(args: Array[String]): Unit = { val N = StdIn.readLine() N match { case "ham" => println(N) case _ => println(N + "ham") } } }