program main
    use,intrinsic :: iso_fortran_env
    implicit none
    integer(int32):: n,a,b
    read*, n

    if (n==1) then
        print'(a)', 'Hello World'
    else
        read*, a,b
        print'(i0)', a+b
    end if
end program main