s=gets.chomp if s=="" puts "Hello World!" exit end s=s.split.map &:to_i if s.size==1 n=s[0] puts n*(n+1)/2 exit end