object Main extends App {
    val i = scala.io.StdIn.readLine().toInt

    if (i == 1){
      println("Hello World")
    } else {
      val a = scala.io.StdIn.readLine().toInt
      val b = scala.io.StdIn.readLine().toInt
      println(a+b)
    }
}