program main
  implicit none
  integer :: n, a, b
  read(*, *) n
  if (n == 1) then
    write(*, "(a)") "Hello World"
  else
    read(*, *) a
    read(*, *) b
    write(*, "(i0)") a + b
  end if
end program main
