Problem:


﻿Score: 100 points

Problem Statement

In 2020, AtCoder Inc. with an annual sales of more than one billion yen (the currency of Japan) has started a business in programming education.

One day, there was an exam where a one-year-old child must write a program that prints Hello World, and a two-year-old child must write a program that receives integers A, B and prints A+B.

Takahashi, who is taking this exam, suddenly forgets his age.

He decides to write a program that first receives his age N (1 or 2) as input, then prints Hello World if N=1, and additionally receives integers A, B and prints A+B if N=2.

Write this program for him.  

Constraints

N is 1 or 2.

A is an integer between 1 and 9 (inclusive).

B is an integer between 1 and 9 (inclusive).

Input

Input is given from Standard Input in one of the following formats:  

1

2
A
B

Output

If N=1, print Hello World; if N=2, print A+B.  

Sample Input 1

1

Sample Output 1

Hello World

As N=1, Takahashi is one year old. Thus, we should print Hello World.

Sample Input 2

2
3
5

Sample Output 2

8

As N=2, Takahashi is two years old. Thus, we should print A+B, which is 8 since A=3 and B=5. 



Sample input:
1


Sample output:
Hello World

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
    print("Hello World")
    
else:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())
if(N==1):
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
import sys

a = int(sys.stdin.readline().strip())
if a == 1:
    print("Hello World")
else:
    b = int(sys.stdin.readline().strip())
    c = int(sys.stdin.readline().strip())
    print(b + c)

Submission status: Accepted

Solution code:
i = int(input())

if i == 1:
    print("Hello World")
elif i == 2:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
a=input()
if a=="1":
    print("Hello World")
else:
    b=int(input())
    c=int(input())
    print(b+c)

Submission status: Accepted

Solution code:
import sys

n = int(raw_input())
if n == 1:
    print("Hello World")
elif n == 2:
    A = int(raw_input())
    B = int(raw_input())
    
    print(A+B)

Submission status: Accepted

Solution code:
N = raw_input()
if N == "1":
  print "Hello World"
else:
  A = int(raw_input())
  B = int(raw_input())
  print A+B

Submission status: Accepted

Solution code:
a=int(input())
if a==1:
     print("Hello World")
else:
     b=int(input())
     c=int(input())
     print(b+c)

Submission status: Accepted

Solution code:
a = int(input())

if a == 1:
    print('Hello World',end='')
elif a == 2:
    print(int(input())+int(input()),end='')

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
  print('Hello World')
elif N == 2:
  A = int(input())
  B = int(input())
  print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
  print("Hello World")
else :
  A = int(input())
  B = int(input())
  print(A + B)

Submission status: Accepted

Solution code:
def solve():
    n = int(input())
    if ( n == 1 ):
        print("Hello World")
    else: #2
        a = int(input())
        b = int(input())
        print( a + b)
solve()

Submission status: Accepted

Solution code:
N = input()
if N == 1:
    print "Hello World"
else:
    A = input()
    B = input()
    print A+B

Submission status: Accepted

Solution code:

N = int(raw_input())

if N == 1:
	print('Hello World')
elif N == 2:
	A = int(raw_input())
	B = int(raw_input())
	print(A + B)

Submission status: Accepted

Solution code:
N,*C=map(int,open(0).read().split())
if N == 2:
    print(sum(C))
else:
    print("Hello World")

Submission status: Accepted

Solution code:
def main():
    N = int(input())
    if N == 1:
        print('Hello World')
    else:
        print(int(input()) + int(input()))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
a=int(input())
if a==1:print("Hello World")
else:print(sum([int(input()) for i in range(2)]))

Submission status: Accepted

Solution code:
a = int(input())
if a == 1:print("Hello World")
else:
    li = [int(input()) for i in range(2)]
    print(sum(li))

Submission status: Accepted

Solution code:
import io
import sys

def solve():
    line1 = sys.stdin.readline().rstrip()
    line2 = sys.stdin.readline().rstrip()
    line3 = sys.stdin.readline().rstrip()
    if int(line1) == 1:
        print("Hello World")
    else:
        print(int(line2)+int(line3))
solve()

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
        print('Hello World')
        exit()

A = int(input())
B = int(input())
if N == 2:
        print(A + B)

Submission status: Accepted

Solution code:
N=int(input())

if(N==1):
    print("Hello World")
elif(N==2):
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
  print("Hello World")
  
else:
  a = int(input())
  b = int(input())
  print(a + b)

Submission status: Accepted

Solution code:
N = int(input())
if N==1: 
 print('Hello World')
else:
 A = int(input())
 B = int(input())
 print(A + B)

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
    print('Hello World')
else:
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print("Hello World")
elif N == 2:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
#abc112_a

AGE_1 = 1
AGE_2 = 2

def main():
    a = int(input(""))
    if a == AGE_1:
        print ("Hello World")
    elif AGE_2:
        A = int(input(""))
        B = int(input(""))
        output = A + B
        print ("{}".format(str(output)))

if __name__ == "__main__": main()

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
    print("Hello World")
if n == 2:
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
  print("Hello World")
else:
  x=[int(input()) for i in range(2)]
  print(sum(x))

Submission status: Accepted

Solution code:
if int(input())==1:
	print("Hello World")
else:
	print(int(input())+int(input()))

Submission status: Accepted

Solution code:
d = input()

if d == "1":
    print("Hello World")
if d == "2":
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
N = int(input())
if N==1:
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
N=int(input())
if N == 1:
    print("Hello World")
else:
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
n = input()
if n == "1":
    print('Hello World')
else:
    print(str(int(input()) + int(input())))

Submission status: Accepted

Solution code:
def main():
    N=int(input())

    if N==1:
        print('Hello World')
    elif N==2:
        A=int(input())
        B=int(input())
        print(A+B)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
#coding:utf-8

n = int(raw_input())

if n == 1:
    print "Hello World"
else:
    a = int(raw_input())
    b = int(raw_input())
    print a+b

Submission status: Accepted

Solution code:
N = int(input())
if(N == 1):
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
import sys


def main():
    n = int(input())

    if n == 1:
        print('Hello World')
        return

    a = int(input())
    b = int(input())

    print(a + b)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
N = input()
if N == '1':
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
N = int(input());

if N == 1 : print("Hello World")
elif N == 2 : 
    A = int(input());
    B = int(input());
    print(A + B)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
 print("Hello World")
else:
  A = int(input())
  B = int(input())
  print(A + B)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
if N == 2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print("Hello World")
    exit
elif N == 2:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Submission status: Accepted

Solution code:
lst = []
n = input()
if n == 1:
  print('Hello World')

else:
  for i in range(2):
    lst.append(input())
  print(lst[0] + lst[1])

Submission status: Accepted

Solution code:
# coding: utf-8

def main():
    N = int(input().strip())

    if N == 1:
        print("Hello World")
    else:
        A = int(input().strip())
        B = int(input().strip())
        print(A+B)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
n = int ( input() )
if n==1:
    print ( "Hello World" )
else:
    a = int ( input() )
    b = int ( input() )
    print ( a+b )

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
  print("Hello World")
elif N==2:
  A = int(input())
  B = int(input())
  print(A+B)

Submission status: Accepted

Solution code:
n=int(input())
if n==1:
    print("Hello World")
else:
    a=input()
    b=input()
    print(int(a)+int(b))

Submission status: Accepted

Solution code:
n = int(input())
if n ==1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:

s = int(input())

if s == 1:
    print("Hello World")
elif s == 2:
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
# coding: utf-8


def main():
    if int(input()) == 1:
        print('Hello World')
    else:
        a = int(input())
        b = int(input())

        print(a + b)


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
n=input();print('Hello World')if n=='1'else print(int(input())+int(input()))

Submission status: Accepted

Solution code:
a=int(input())
if a==1:
    print("Hello World")
elif a==2 :
    b=int(input())
    c=int(input())
    print(b+c)

Submission status: Accepted

Solution code:
def toInteger(string):
  try:
    integer = int(string)
    return integer
  except:
    print('Number Format Exception')
    exit()

def myInput():
  s = input()
  i = toInteger(s)
  return i

def isEqual(a, b):
  try:
    1 / (a - b)
  except:
    return True
  return False

def isValue1(v):
  boolean = isEqual(v, 1)
  if isEqual(boolean, True) == True:
    return True
  elif isEqual(boolean, False) == True:
    return False
  else:
    None

def isValue2(v):
  boolean = isEqual(v, 2)
  if isEqual(boolean, True) == True:
    return True
  elif isEqual(boolean, False) == True:
    return False
  else:
    None

def printString(String):
  print(String)

def printHelloWorld():
  printString('Hello World')
  
def printInteger(integer):
  print(integer)

def sumTwoValues(a, b):
  c = a + b
  return c

def solve(v):
  boolean1 = isValue1(v)
  boolean2 = isValue2(v)
  if isEqual(boolean1, True) == True:
    printHelloWorld()
  elif isEqual(boolean2, True) == True:
    a = myInput()
    b = myInput()
    c = sumTwoValues(a, b)
    printInteger(c)
  else:
    None

def main():
  a = myInput()
  solve(a)
  
main()

Submission status: Accepted

Solution code:
def toInteger(string):
  integer = int(string)
  return integer

def myInput():
  s = input()
  i = toInteger(s)
  return i

def isEqual(a, b):
  try:
    1 / (a - b)
  except:
    return True
  return False

def isValue1(v):
  boolean = isEqual(v, 1)
  if isEqual(boolean, True) == True:
    return True
  elif isEqual(boolean, False) == True:
    return False
  else:
    None

def isValue2(v):
  boolean = isEqual(v, 2)
  if isEqual(boolean, True) == True:
    return True
  elif isEqual(boolean, False) == True:
    return False
  else:
    None

def printString(String):
  print(String)

def printHelloWorld():
  printString('Hello World')
  
def printInteger(integer):
  print(integer)

def sumTwoValues(a, b):
  c = a + b
  return c

def solve(v):
  boolean1 = isValue1(v)
  boolean2 = isValue2(v)
  if isEqual(boolean1, True) == True:
    printHelloWorld()
  elif isEqual(boolean2, True) == True:
    a = myInput()
    b = myInput()
    c = sumTwoValues(a, b)
    printInteger(c)
  else:
    None

a = myInput()
solve(a)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
     print("Hello World")
else:
     A =  int(input())
     B =  int(input())
     print(A+B)

Submission status: Accepted

Solution code:
if input() == "1":
    print("Hello World")
else:
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
  print ('Hello World')
else:
  A=int(input())
  B=int(input())
  print (A+B)

Submission status: Accepted

Solution code:
n=int(input())
if n==1:print('Hello World')
else:
    a=int(input())
    b=int(input())
    print(a+b)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
# -*- coding: utf-8 -*-
n  = input()

if n == "1" :
  print("Hello World")
else:
  a  = int(input())
  b  = int(input())
  print(a+b)

Submission status: Accepted

Solution code:
n = int(input())

if n ==1:
    print('Hello World')

else:
    ab = [int(input()) for i in range(2)]
    print(ab[0]+ab[1])

Submission status: Accepted

Solution code:
x = input()
if x is "1":
    print("Hello World")
elif x is "2":
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
N = int(raw_input())
if N == 1: print 'Hello World'
else:
	a = int(raw_input())
	b = int(raw_input())
	print a + b

Submission status: Accepted

Solution code:
n = int(input())
if n==2:
	b=int(input())
	c=int(input())
	print(b+c)
else:
	print("Hello World")

Submission status: Accepted

Solution code:
n = int(input())

if(n == 1):
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
a = int(input())

if a == 1:
    print("Hello World")
else:
    b = int(input())
    c = int(input())
    print("{}".format(b+c))

Submission status: Accepted

Solution code:
#coding: utf-8

if int(input()) == 1:
    print ('Hello World')
else:
    A = int(input())
    B = int(input())
    print (A+B)

Submission status: Accepted

Solution code:
i=input;print'Hello World'*(2-i())or i()+i()

Submission status: Accepted

Solution code:
i=input;print i()+i()if 1<i()else'Hello World'

Submission status: Accepted

Solution code:
if input() == '1':
  print("Hello World")
else:
  a = int(input())
  b = int(input())
  print(a+b)

Submission status: Accepted

Solution code:
i=input;print(eval(i()+'+'+i())if'1'<i()else'Hello World')

Submission status: Accepted

Solution code:
*a,=map(int,open(0).read().split())
print(a[1]+a[2]if a[0]>1else'Hello World')

Submission status: Accepted

Solution code:

mode = input()
if mode == 1:
	print "Hello World"
else:
	num1 = input()
	num2 = input()
	print(num1 + num2)

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
  print("Hello World")
else:
  a = int(input())
  b = int(input())
  print(a+b)

Submission status: Accepted

Solution code:
def main():
    N = int(input())
    if N == 1 :
        print("Hello World")
    elif N == 2 :
        A = int(input())
        B = int(input())
        print(A + B)
    else:
        pass

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
    print("Hello World")
if N==2:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
if input() == '1':
  print('Hello World')
else:
  print(int(input())+int(input()))

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
  print("Hello World")
else:
  A= int(input())
  B= int(input())
  print(A+B)

Submission status: Accepted

Solution code:
# ANSHUL GAUTAM
# IIIT-D

from math import *
from string import *
from itertools import *
from copy import *

N = int(input())
if(N == 1):
	print("Hello World")
else:
	A = int(input())
	B = int(input())
	print(A+B)

Submission status: Accepted

Solution code:
n = int(input())
print("Hello World" if n == 1 else (int(input()) + int(input())))

Submission status: Accepted

Solution code:
N = input()
if int(N) == 1:
  print("Hello World")
elif int(N) == 2:
  A = input()
  B = input()
  print(int(A)+int(B))

Submission status: Accepted

Solution code:
N = input()
if int(N)==1:
    print("Hello World")
elif int(N)==2:
    A = input()
    B = input()
    print(int(A)+int(B))

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
else :
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
else:
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
N = int(input())

if N==1:
 print ("Hello World")
elif N==2:
 N1 = int(input())
 N2 = int(input())
 print (N1+N2)

Submission status: Accepted

Solution code:
ina = input()
if ina == "1":
  print("Hello World")
else:
  inb = int(input())
  inc = int(input())
  print(inb + inc)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1 :
    print("Hello World")
else :
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
N = input()
if N == 1:
    print("Hello World")
else:
    A = input()
    B = input()
    print(A+B)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1: print("Hello World")
else: print(sum([int(input()) for i in range(2)]))

Submission status: Accepted

Solution code:
"""
a=[]
for i in range():
	a.append(int(input()))

if a[0]!=1:
	print(a[1]+a[2])
else:
	print("Hello World")
"""
a=int(input())
if a==1:
	print("Hello World")
else:
	b=int(input())
	c=int(input())
	print(b+c)

Submission status: Accepted

Solution code:
v = int(input())
if v == 1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print((A + B))

Submission status: Accepted

Solution code:
import sys

n = int(input())
if n==1:
    print("Hello World")
    sys.exit()

if n==2:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
N = int(input())
if N ==1:
    print('Hello World')
elif N==2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
# coding: utf-8

N = int(input())
if N == 1:
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
import sys
try: from typing import Any, Union, List, Tuple, Dict
except ImportError: pass
sys.setrecursionlimit(10**6)
def debug(*args): print(*args, file=sys.stderr)
def exit(): sys.exit(0)


N = int(input())
if N == 1:
    print("Hello World")
    exit()
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
import sys

N = int(input())

if N == 1:
    print("Hello World")
    sys.exit()
else:
    A = int(input())
    B = int(input())
    
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())
if (N == 1):
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
else:
    A = int(input())
    B = int(input())
    C = A + B
    print(C)

Submission status: Accepted

Solution code:
old = int(input())
if old==1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a+b)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
    print("Hello World")
else:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print("Hello World")

elif N == 2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:

n = int(input())

if n==1:
    print('Hello World')
else:
    x = int(input())
    y = int(input())
    print(x+y)

Submission status: Accepted

Solution code:
a = int(input())
if a == 1:
	print("Hello World")
else:
	A = int(input())
	B = int(input())
	print(A+B)

Submission status: Accepted

Solution code:
import sys
N = int(sys.stdin.readline().strip())

if N == 1:
  print("Hello World")
else:
  A, B = sys.stdin.readlines()
  A = int(A)
  B = int(B)
  print(str(A+B))

Submission status: Accepted

Solution code:
N = int(input())

if (N == 1):
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print("{0}".format(a + b))

Submission status: Accepted

Solution code:
if(int(input())==1):
    print("Hello World")
else:
    a=int(input())
    b=int(input())
    print(a+b)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
elif N == 2:
    A = int(input(''))
    B = int(input(''))
    print(A + B)

Submission status: Accepted

Solution code:
a = int(input())

if a == 1:
    print('Hello World')
else:
    sumsum = 0
    for i in range(2):
        sumsum += int(input())
        
    print(sumsum)

Submission status: Accepted

Solution code:
n = int(raw_input())
if n == 1:
    print 'Hello World'
else:
    a = int(raw_input())
    b = int(raw_input())
    print a+b

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
	print("Hello World")
else:
	a = int(input())
	b = int(input())
	print(a+b)

Submission status: Accepted

Solution code:
if input() == 1:
	print 'Hello World'
else:
	print input()+input()

Submission status: Accepted

Solution code:
w=int(input())
if w == 1:
    print("Hello World")
elif w == 2:
    a=int(input())
    b=int(input())
    print(a+b)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
	print("Hello World")
elif n == 2:
	a = int(input())
	b = int(input())
	print(a+b)

Submission status: Accepted

Solution code:
age = int(input())
if age == 1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
    print('Hello World')
else:
    a = int(input())
    b = int(input())
    print('{}'.format(a + b))

Submission status: Accepted

Solution code:
N = int(input())


if N == 1:
    print('Hello World')
elif N == 2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
x = int(input())
if x == 1:
  print("Hello World")
else:
  print( int(input()) + int(input()) )

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
   print("Hello World")
if N==2:
   A=int(input())
   B=int(input())
   print(A+B)

Submission status: Accepted

Solution code:
def fun(a):
    if a == 1:
        print('Hello World')
    else :
        A = int(input())
        B = int(input())
        print(A+B)

N = int(input())
fun(N)

Submission status: Accepted

Solution code:
N = int(input())


if(N == 1):
	print("Hello World")
else:
	A = int(input())
	B = int(input())
	print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if(N==1):
    print("Hello World")
elif(N==2):
    A =int(input())
    B=int(input())
    C=A+B
    print(C)

Submission status: Accepted

Solution code:
n  = int(raw_input())
if n == 1:
  print('Hello World')
else:
  a = int(raw_input())
  b = int(raw_input())
  print(a+b)

Submission status: Accepted

Solution code:
# Programming Education
n = int(input())
if n == 1:
    print('Hello World')
else:
    print(int(input())+int(input()))

Submission status: Accepted

Solution code:
N=int(input())

if N==1:
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Submission status: Accepted

Solution code:
a=int(input())
if(a==1):
  print("Hello World")
else:
  A=int(input())
  B=int(input())
  print(A+B)

Submission status: Accepted

Solution code:
n = int(input())
 
if n == 1:
  print("Hello World")
elif n == 2:
  a = int(input())
  b = int(input())
  print(a+b)

Submission status: Accepted

Solution code:
if int(input()) == 2:
    print(int(input())+int(input()))
else:
    print("Hello World")

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
elif N == 2:
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
# -*- coding : utf-8 -*-
N = int(input())

if N == 1:
    print("Hello World")
elif N == 2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N==1:
    print("Hello World")
    exit()

A = int(input())
B = int(input())

print(A+B)

Submission status: Accepted

Solution code:
ipnum = input()

if ipnum == "1":
    print("Hello World")
elif ipnum =="2":
    num1 = int(input())
    num2 = int(input())
    print(num1 + num2)
else:
    print("error")

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
  print('Hello World\n')
else:
  a = int(input())
  b = int(input())
  print(a + b)

Submission status: Accepted

Solution code:
N = int(input(""))

if N == 1:
    print('Hello World')
elif N == 2:
    A = int(input(""))
    B = int(input(""))
    print(A + B)

Submission status: Accepted

Solution code:
n=int(input())
if n==1:
	print("Hello World")
elif n==2:
	a=int(input())
	b=int(input())
	print(a+b)

Submission status: Accepted

Solution code:
n = int(input())
if n == 2:
    a = int(input())
    b = int(input())
    print(a+b)
elif n == 1:
    print("Hello World")

Submission status: Accepted

Solution code:
age = int(input())
A = 0
B = 0
if age == 1:
    print("Hello World")

if age == 2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N==1:
    print('Hello World')
elif N==2:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
x = input()
if int(x) == 1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
  print('Hello World')
else:
  A = int(input())
  B = int(input()) 
  print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
elif N == 2:
    A = int(input())
    B = int(input())
    print(A + B)
else:
    pass

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
	print ("Hello World")
else:
	a = int(input())
	b = int(input())
	print(a+b)

Submission status: Accepted

Solution code:
def getinputdata():

    array_result = []    
    array_result.append(input().split(" "))

    flg = True

    try:
        while flg:

            data = input()

            if(data != ""):
                
                array_result.append(data.split(" "))

                flg = True

            else:

                flg = False
    finally:

        return array_result

arr_data = getinputdata()

n=int(arr_data[0][0])

print("Hello World" if n==1 else int(arr_data[1][0])+int(arr_data[2][0]))

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
	print("Hello World")
else:
	print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
if int(input()) - 1:
    A = int(input())
    B = int(input())
    print(A + B)
else:
    print('Hello World')

Submission status: Accepted

Solution code:
N = input()
if N == "1":
    print("Hello World")
elif N == "2":
    a = int(input())
    b =int(input())
    print(a+b)

Submission status: Accepted

Solution code:
age = int(input())

if age == 1 :
    print('Hello World')
elif age ==2:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

Solution code:
n = int(input())

if n == 2:
    a = int(input())
    b = int(input())
    print(a+b)
else:
    print('Hello World')

Submission status: Accepted

Solution code:
N = input()

if N == "1":
    print("Hello World")
else:
    A = input()
    B = input()
    print(str(int(A) + int(B)))

Submission status: Accepted

Solution code:
n = int(input())
if(n == 1) :
    print("Hello World")
if(n == 2) :
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())
if N==1:
    print("Hello World")
if N==2:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-

# input N
N = int(input())
if N==1:
    print("Hello World")
elif N==2:
    # input a, b
    a = int(input())
    b = int(input())
    print("{}".format(a+b))

Submission status: Accepted

Solution code:
print"Hello World"if input()==1 else input()+input()

Submission status: Accepted

Solution code:
n = int(input())
if n == 1:
    print("Hello World")
    exit()
if n == 2:
    a = int(input())
    b = int(input())
    print(a + b)
    exit()

Submission status: Accepted

Solution code:
# encoding: utf-8
N = input()
if N == "1": print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A + B)

Submission status: Accepted

Solution code:
if input()=='1':
  print("Hello World")
else:
  a=int(input())
  b=int(input())
  print(a+b)

Submission status: Accepted

Solution code:
import math,string,itertools,fractions,heapq,collections,re,array,bisect,sys,random,time,copy,functools

sys.setrecursionlimit(10**7)
inf = 10**20
eps = 1.0 / 10**13
mod = 10**9+7
dd = [(-1,0),(0,1),(1,0),(0,-1)]
ddn = [(-1,0),(-1,1),(0,1),(1,1),(1,0),(1,-1),(0,-1),(-1,-1)]

def LI(): return [int(x) for x in sys.stdin.readline().split()]
def LI_(): return [int(x)-1 for x in sys.stdin.readline().split()]
def LF(): return [float(x) for x in sys.stdin.readline().split()]
def LS(): return sys.stdin.readline().split()
def I(): return int(sys.stdin.readline())
def F(): return float(sys.stdin.readline())
def S(): return input()
def pf(s): return print(s, flush=True)


def main():
    n = I()
    if n == 1:
        return 'Hello World'
    a = I()
    b = I()

    return a + b


print(main())

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
  print("Hello World")
  exit(0)

A = int(input())
B = int(input())
print(A+B)

Submission status: Accepted

Solution code:
N = input()

if "1" == N:
    print("Hello World")
elif "2" == N:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
n=int(input())
if n==1:
  print('Hello World')
else:
    print(int(input())+int(input()))

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
  print('Hello World')
else:
  A = int(input())
  B = int(input())
  print(A+B)

Submission status: Accepted

Solution code:
a = int(input())
if a == 1:
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
if int(input()) == 1:
    print('Hello World')
else:
    ans = int(input())
    print(ans+int(input()))

Submission status: Accepted

Solution code:
print('Hello World' if input() == '1' else int(input())+int(input()))