(function (input) {
  const lines = input.split('\n')
  for(let i=0; i<lines.length;) {
    if (lines[i] == '1') {
      console.log('Hello World')
      i++
      continue
    }
    if (lines[i] == '2') {
      console.log(parseInt(lines[i+1], 10) + parseInt(lines[i+2], 10))
      i = i + 2
      continue
    }
    i++
  }
  
})(require("fs").readFileSync("/dev/stdin", 'utf8'));
