program sample
	implicit none
    integer :: a,b,c
    
    read(*,*) a
    if (a==1) then
    	write(*,*) 'Hello World'
    else
    	read(*,*) b
        read(*,*) c
    	write(*,*) b+c
    end if
    stop
end program sample