program prob60
    implicit none
    integer :: q,w,e
    read(*,*) q
    if(q == 1) then
        write(*,'(a)') "Hello World"
    else
        read(*,*) w,e
        write(*,*) w+e
    end if

    stop
contains
end program prob60