program ABC112A
    implicit none
    integer(8)::N,A,B

    read(5,*)N

    if(N==1)then
        print'(A)',"Hello World"
    else
        read(5,*)A
        read(5,*)B
        print'(i0)',A+B
    end if
end program ABC112A