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: Wrong Answer

Solution code:
#abc112_a

AGE_1 = 1
AGE_2 = 2

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

if __name__ == "__main__": main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
def main():
    N=int(input('N?>'))

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

if __name__ == '__main__':
    main()

Submission status: Wrong Answer

Solution code:
def chg(n):
  if n==1:
    return 9
  elif n==9:
    return 1
  return n

n = int(input())
n,a1 = divmod(n,10)
n,a2 = divmod(n,10)
n,a3 = divmod(n,10)


print(100*chg(a3)+10*chg(a2)+chg(a1))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
N=list(input())
if len(N)==1:
    print('Hello World')
else:
    A=int(N[2])
    B=int(N[4])
    print(A+B)

Submission status: Wrong Answer

Solution code:
N = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n=input()
if n==1:
  print('Hello World!')
elif n==2:
  a,b=map(int, input().split())
  print(a+b)

Submission status: Wrong Answer

Solution code:
n = int(input("How old are you ?: "))

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
a = int(input())

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
print

Submission status: Wrong Answer

Solution code:
N = 2

if N == 1:
    print('Hello World')
else:
    A = 3
    B = 5
    print(A+B)

Submission status: Wrong Answer

Solution code:
N=int(input())

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
n = input("")

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

Submission status: Wrong Answer

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

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

Submission status: Wrong Answer

Solution code:
n = int(input("input number"))

if n == 1:
    print('Hello World')
elif n == 2:
    a = int(input("input number A"))
    b = int(input("input number B"))
    print(a+b)

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = input()

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

Submission status: Wrong Answer

Solution code:
n = int(input())

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

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
I=input()
if I=='1':
 print('hello world')
else:
  A=input()
  B=input()
  print(int(A)+int(B))

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

print(b+c)

Submission status: Wrong Answer

Solution code:
N = input()

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

Submission status: Wrong Answer

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: Wrong Answer

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

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

	else:
		a = input()
		b = input()
		sum = a + b
		print(sum)
	
if __name__ == "__main__":
	main()

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
input_num = input()

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

Submission status: Wrong Answer

Solution code:
print(int(input())+int(input())if int(input())-1 else"Hello world")

Submission status: Wrong Answer

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: Wrong Answer

Solution code:
N = input()

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
n = int(input())


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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

Solution code:
#112A
N=int(input())
if N==2:
    A=int(input())
    B=int(input())
    N=A+B
print(N)

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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

Submission status: Wrong Answer

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(a + b)

Submission status: Wrong Answer

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: Wrong Answer

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:
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")
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:
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())
print("Hello World") if N==1 else print(sum([int(input()) for _ in range(2)]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
def main():
    n = int(input())
    a, b = "Hello ", "World"
    if n == 2:
        a, b = [int(input()) for _ in range(n)]
    print(a+b)


main()

Submission status: Accepted

Solution code:
def main():
    n = int(input())
    # h, w, k = map(int, input().split())
    # a = list(map(int, input().split()))
    # s = 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:
print('Hello World' if input() == '1' else int(input()) + int(input()))

Submission status: Accepted

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

Submission status: Accepted

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

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(sum(int(input()) for _ in range(2)))

Submission status: Accepted

Solution code:
a = input()

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

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:
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:
  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:
print("Hello World"if input()=="1"else sum(map(int,[input(),input()])))

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

Submission status: Accepted

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

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:
if int(input()) == 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,b=int(input()),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 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")
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, b = int(input()), int(input())
        print(a + b)


if __name__ == "__main__":
    main()

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:
if int(input()) == 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')
    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:
n=int(input())
if n==1:print('Hello World')
else:
  a,b=int(input()),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, b = [int(input()) for _ in range(2)]
  print(a + b)

Submission status: Accepted

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

Submission status: Accepted

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

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

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


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:
a = int(input())
if a == 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:
    print(sum([int(input()) for _ in range(2)]))

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 I(): return int(sys.stdin.readline().rstrip())

N = I()
if N == 1:
    print('Hello World')
else:
    print(I()+I())

Submission status: Accepted

Solution code:
mod = 1000000007
eps = 10**-9


def main():
    import sys
    input = sys.stdin.readline

    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(input())
if n == 1:
  print('Hello World')
else:
  a = [int(input()) for i in range(2)]
  print(a[0] + a[1])

Submission status: Accepted

Solution code:
n, *l = map(int, open(0))
print("Hello World" if n == 1 else sum(l))

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

read = sys.stdin.read
readline = sys.stdin.readline
readlines = sys.stdin.readlines
sys.setrecursionlimit(10 ** 9)
INF = 1 << 60
MOD = 1000000007


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

    if N == 1:
        print('Hello World')
    else:
        A, B = map(int, read().split())
        print(A + B)

    return


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
#k = int(input())
#s = input()
#a, b = map(int, input().split())
#s, t = map(str, input().split())
#l = list(map(int, input().split()))
#l = [list(map(int,input().split())) for i in range(n)]
#a = [list(input()) for _ in range(n)]
#a = [input() for _ in range(n)]

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")
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:
import sys


stdin = sys.stdin
def ns(): return stdin.readline().rstrip()
def ni(): return int(stdin.readline().rstrip())
def nm(): return map(int, stdin.readline().split())
def nl(): return list(map(int, stdin.readline().split()))


def main():
    print('Hello World' if ni() == 1 else ni() + ni())


if __name__ == '__main__':
    main()

Submission status: Accepted

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

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")
else:print(int(input())+int(input()))

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
if __name__ == '__main__':
	n = int(input())
	
	if n == 1:
		print("Hello World")
	else:
		ans = 0
		for i in range(2):
			ans += int(input())
		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 == 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:
    print(sum(int(input()) for T in range(0,2)))

Submission status: Accepted

Solution code:
try: n,a,b=[int(input()) for _ in range(3)];print(a+b)
except: 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:
  a = int(input())
  b = int(input())
  print(a + b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#!/usr/bin/env python3
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==2:
  print(int(input())+int(input()))
else:
  print('Hello World')

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

Submission status: Accepted

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

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