program main
implicit None
	integer::n,a,b
	
	read *,n,a,b
	
	if (n == 1)then
		print 101,"Hello World"
	endif
	
	if (n == 2)then
		print 102,a+b
	endif
	
101 format(a)
102 format(i0)
end program main