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:
# -*- 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:
# -*- coding: utf-8 -*-
"""
Created on Sat Sep 15 21:08:34 2018

@author: ogura
"""

n = int(input())

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

Submission status: Accepted

Solution code:
#coding:utf-8

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:
#A
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")
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:
    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)

else:
    pass

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:
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 = str(input())

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

Submission status: Accepted

Solution code:
if __name__ == "__main__":
    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 == 2:
    a=int(input())
    b=int(input())
    print(a+b)
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:
n=int(input())
if n-1:
    print(int(input())+int(input()))
else:
    print('Hello World')

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(A+B )

Submission status: Accepted

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

Submission status: Accepted

Solution code:
I = int(input())
if I == 1:
    print('Hello World')
else:
    A = []
    for i in range(2):
        A.append(int(input()))
    
    print(A[0]+A[1])

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:
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 = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

Solution code:
if int(input())==1:
	print('Hello World')
	exit()
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')
else:
  A = int(input())
  B = int(input())
  print(A+B)

Submission status: Accepted

Solution code:
import sys

lines = sys.stdin.read().split('\n')
age = int(lines[0])
if age == 1:
    print('Hello World')
elif age == 2:
    if len(lines) < 3:
        raise "age 2 but did not receive A and B"
    A = int(lines[1])
    B = int(lines[2])
    print(A+B)
else:
    raise "received invalid age " + str(age)

Submission status: Accepted

Solution code:
n = int(input())

if n == 1:
	print("Hello World")
else:
	a, b = [int(input()) for _ in range(2)]
	print(a + b)

Submission status: Accepted

Solution code:
import sys
N = int(input())
if N == 1:
    print("Hello World")
    sys.exit()

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding: utf-8
# Your code here!

n = 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")
if 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())

if (n == 1):
    print("Hello World")
else:
    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:
if int(input()) - 1 :
    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:
    a = int(input())
    b = int(input())
    print(a + b)

Submission status: Accepted

Solution code:
GI = lambda: int(input()); GIS = lambda: map(int, input().split()); LGIS = lambda: list(GIS())

def main():
    A = GI()
    if A == 1:
        print('Hello World')
    else:
        B = GI()
        C = GI()
        print(B+C)

main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

ans = 0
for i in range(2):
    ans += int(input())

print(ans)

Submission status: Accepted

Solution code:
old = int(input())
if old == 1:
    print('Hello World')
elif old == 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:
#!/Library/Frameworks/Python.framework/Versions/3.5/bin/python3
from collections import defaultdict

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

Submission status: Accepted

Solution code:
#112A
N=int(input())
if N==1:
    print('Hello World')
if N==2:
    A=int(input())
    B=int(input())
    N=A+B
    print(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==2):
    A=int(input())
    B=int(input())
    print(A+B)
if(N==1):
    print("Hello World")

Submission status: Accepted

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

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

	else:
		print(int(input()) + int(input()))

if __name__ == '__main__':
	run()

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
N = int(input())
if N == 1:
    print('Hello World')
    exit()
elif N == 2:
    A = int(input())
    B = int(input())
    print(A + B)
    exit()

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:
# coding: utf-8
# Your code here!

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(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:
#encoding 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")
else:
    A= int(input())
    B= int(input())
    print(A+B)

Submission status: Accepted

Solution code:
n = input().strip()

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

Submission status: Accepted

Solution code:
from sys import stdin

def main():
    N = int(input())
    if N < 2:
        print('Hello World')
    else:
        A = int(input())
        B = int(input())
        print(A + B)

input = lambda: stdin.readline()
main()

Submission status: Accepted

Solution code:
n = int(input())

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

Submission status: Accepted

Solution code:
# coding: utf-8

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:
def answer(in0):
    N = in0

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


print(answer(input()))

Submission status: Accepted

Solution code:
s1 = int(input())

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

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

print(a + b)

Submission status: Accepted

Solution code:
n = int(input())

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

l = list(map(int, [input() for _ in range(2)]))

print(sum(l))

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:

def main():
    n = int(input())
    if n == 1:
        print("Hello World")
        exit()

    a = int(input())
    b = int(input())
    print(a+b)


if __name__ == "__main__":
        main()

Submission status: Accepted

Solution code:
t = int(input())

if t==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')
else:
    a = int(input())
    b = int(input())
    print(a+b)

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)

Submission status: Accepted

Solution code:
# vim: set fileencoding=utf-8:


def main():
    if input() == 1:
        print("Hello World")
    else:
        A = input()
        B = input()
        print(A + B)


if __name__ == "__main__":
    main()

Submission status: Accepted

Solution code:
n=int(input())
if n==2:
    a=int(input())
    b=int(input())
if n==1:
    print("Hello World")
else:
    print(b+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')
    exit()
print(int(input())+int(input()))

Submission status: Accepted

Solution code:
# encoding: 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:
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:
  t=[int(input()) for i in range(2)] 
  print(t[0]+t[1])

Submission status: Accepted

Solution code:
# A
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:
i=input()
if i=="2":
  n=int(input())
  m=int(input())
  print(n+m)
else:
  print("Hello World")

Submission status: Accepted

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

print(ans)

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')
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")

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

Submission status: Accepted

Solution code:
N = int(input())

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

if N == 1:
    print('Hello World')
else:
    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(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:
#coding: utf-8
N = int(input())
print("Hello World" if N==1 else int(input())+int(input()))

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:
# -*- coding: utf-8 -*-

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:
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:
    ab=[input() for i in range(n)]
    print(int(ab[0])+int(ab[1]))

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:
# -*- 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:
    A=int(input())
    B=int(input())
    print(A+B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
import numpy as np,math,itertools
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:

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:
# -*- coding: utf-8 -*-
from sys import stdin

a = int(stdin.readline().rstrip())

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

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()
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())
	print(A + B)

Submission status: Accepted

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

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

        print(A+B)


if __name__ == '__main__':
    main()

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 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:
a = int(input())

if a == 1:
    print('Hello World')
    exit()
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(b+c)

Submission status: Accepted

Solution code:
# your code goes here
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:
# -*- coding: utf-8 -*-

def main():
    N = input()

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

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
from sys import stdin

N = int(stdin.readline().rstrip())
if N == 1:
    print('Hello World')
else:
    A = int(stdin.readline().rstrip())
    B = int(stdin.readline().rstrip())
    print(A + B)

Submission status: Accepted

Solution code:
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:
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 = 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 = int(input())
	B = int(input())
	print(A+B)

Submission status: Accepted

Solution code:
import math
from functools import reduce
import collections
import itertools
a = list(map(int,input().split()))
n = a[0]
if n == 1:
    print("Hello World")
if(n == 2):
    aa = int(input())
    ab = int(input())
    print(aa+ab)

Submission status: Accepted

Solution code:
if __name__ == '__main__':
    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:
  print(int(input())+int(input()))

Submission status: Accepted

Solution code:
n=int(input())
if n == 1:
    print('Hello World')
if n == 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:


if __name__ == '__main__':

    s = input()

    if s == '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'
elif N == 2:
	A = input()
	B = 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:
# -*- coding: utf-8 -*-
def inpl(): return map(int, input().split())
N = int(input())
if N == 1:
    print("Hello World")
else:
    print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
y = int(input())

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

Submission status: Accepted

Solution code:
num = int(input())
if num == 1:
    print("Hello World")
elif num == 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:
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')
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")
if N == 2:
    A = int(input())
    B = int(input())
    print(A+B)

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 :
    A = int(input())
    B = int(input())
    print(A+B)
else :
    print("Hello World")

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:
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:
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=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 python
# coding: utf-8
#
    
def main(a,b):
    if 0 == a * b % 2:
        print('No')
    else:
        print('Yes')
    
    
if __name__ == '__main__':
    try:
        n  = int(input().strip())
        if 1 == n:
            print('Hello World')
        elif 2 == n:
            a = int(input().strip())
            b = int(input().strip())
            print(a + b)
    except EOFError:
        pass

Submission status: Accepted

Solution code:
import sys
import math
import collections
import itertools
import array
import inspect

# Set max recursion limit
sys.setrecursionlimit(1000000)


# Debug output
def chkprint(*args):
    names = {
        id(v): k
        for k, v in inspect.currentframe().f_back.f_locals.items()
    }
    print(', '.join(
        names.get(id(arg), '???') + ' = ' + repr(arg) for arg in args))


# Binary converter
def to_bin(x):
    return bin(x)[2:]


def li_input():
    return [int(_) for _ in input().split()]


def gcd(n, m):
    if n % m == 0:
        return m
    else:
        return gcd(m, n % m)


def gcd_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = gcd(v, L[i])

    return v


def lcm(n, m):
    return (n * m) // gcd(n, m)


def lcm_list(L):
    v = L[0]

    for i in range(1, len(L)):
        v = lcm(v, L[i])

    return v


# Width First Search (+ Distance)
def wfs_d(D, N, K):
    """
    D: 隣接行列(距離付き)
    N: ノード数
    K: 始点ノード
    """

    dfk = [-1] * (N + 1)
    dfk[K] = 0

    cps = [(K, 0)]
    r = [False] * (N + 1)
    r[K] = True
    while len(cps) != 0:
        n_cps = []
        for cp, cd in cps:
            for i, dfcp in enumerate(D[cp]):
                if dfcp != -1 and not r[i]:
                    dfk[i] = cd + dfcp
                    n_cps.append((i, cd + dfcp))
                    r[i] = True

        cps = n_cps[:]

    return dfk


# Depth First Search (+Distance)
def dfs_d(v, pre, dist):
    """
    v:  現在のノード
    pre: １つ前のノード
    dist: 現在の距離

    以下は別途用意する
    D: 隣接リスト(行列ではない)
    D_dfs_d: dfs_d関数で用いる，始点ノードから見た距離リスト
    """

    global D
    global D_dfs_d

    D_dfs_d[v] = dist

    for next_v, d in D[v]:
        if next_v != pre:
            dfs_d(next_v, v, dist + d)

    return


def sigma(N):
    ans = 0
    for i in range(1, N + 1):
        ans += i
    return ans


def comb(n, r):
    if n - r < r: r = n - r
    if r == 0: return 1
    if r == 1: return n

    numerator = [n - r + k + 1 for k in range(r)]
    denominator = [k + 1 for k in range(r)]

    for p in range(2, r + 1):
        pivot = denominator[p - 1]
        if pivot > 1:
            offset = (n - r) % p
            for k in range(p - 1, r, p):
                numerator[k - offset] /= pivot
                denominator[k] /= pivot

    result = 1
    for k in range(r):
        if numerator[k] > 1:
            result *= int(numerator[k])

    return result

def bisearch(L, target):
    low = 0
    high = len(L) - 1
    
    while low <= high:
        mid = (low + high) // 2
        guess = L[mid]
        if guess == target:
            return True
        elif guess < target:
            low = mid + 1
        elif guess > target:
            high = mid - 1
    if guess != target:
        return False

# --------------------------------------------

dp = None


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

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


main()

Submission status: Accepted

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

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 = int(input())

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

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

Submission status: Accepted

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

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:
N = int(input())
if N == 1:
    print('Hello World')
else :
    B = int(input())
    C = int(input())
    print(B + C)

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:
import sys
input = sys.stdin.readline

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# coding:utf-8

INF = float('inf')


def inpl(): return list(map(int, input().split()))


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 = 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:
    n=int(input())
    m=int(input())
    print(m+n)

Submission status: Accepted

Solution code:
x = int(input())
if 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:
# coding: utf-8
# Your code here!

n=int(input())
#x=[int(i) for i in input().split()]


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