object Main {
  def main(args:Array[String]) {
	val age = scala.io.StdIn.readInt
	
	if(age == 1) {
	  println("Hello World")
	}
	else if(age == 2) {
      println(scala.io.StdIn.readInt + scala.io.StdIn.readInt)
	}
  }
}