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

Submission status: Accepted

Solution code:
#!/usr/bin/python

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


if __name__ == '__main__':
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from collections import Counter
from functools import reduce
import fractions
import math
import statistics
import sys
import time
sys.setrecursionlimit(10**7)
INF = 10 ** 18
MOD = 10 ** 9 + 7
def LI(): return [int(x) for x in sys.stdin.readline().split()]  # LIST INT
def LF(): return [float(x) for x in sys.stdin.readline().split()]  # LIST FLOAT
def LS(): return sys.stdin.readline().split()  # LIST STRING
def MI(): return map(int, sys.stdin.readline().split())  # MAP INT
def II(): return int(sys.stdin.readline())  # INPUT INT
def IS(): return input()  # INPUT STRING
def P(x): return print(x)
def C(x): return Counter(x)
def GCD_LIST(numbers):  # greatest common divisor
    return reduce(fractions.gcd, numbers)
def LCM_LIST(numbers):  # least common multiple
    return reduce(LCM, numbers)
def LCM(m, n):
    return (m * n // fractions.gcd(m, n))


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

Submission status: Accepted

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

N = int(input())

if N == 1:
    print('Hello World')
else:
    A, B = [int(input()) for i in range(2) ]
    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()
if N=="1":
    print("Hello World")
else:
    A = int(input())
    B = int(input())
    print(A+B)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
print('Hello World' if int(input()) == 1 else sum(map(lambda n: int(n), [input(), input()])))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())

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

print(ans)

Submission status: Accepted

Solution code:
i=lambda:int(input());print('Hello World'if i()-2 else i()+i())

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
from collections import defaultdict
from collections import deque
from heapq import heappush, heappop
import sys
import math
import bisect
import random
def LI(): return list(map(int, sys.stdin.readline().split()))
def I(): return int(sys.stdin.readline())
def LS():return list(map(list, sys.stdin.readline().split()))
def S(): return list(sys.stdin.readline())[:-1]
def IR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = I()
    return l
def LIR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = LI()
    return l
def SR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = S()
    return l
def LSR(n):
    l = [None for i in range(n)]
    for i in range(n):l[i] = SR()
    return l
mod = 1000000007
sys.setrecursionlimit(1000000)

#A
def A():
    n = I()
    if n == 1:
        print("Hello World")
    else:
        a,b = IR(2)
        print(a+b)
    return

#B
def B():
    return

#C
def C():
    n = I()
    a = LIR(n)
    if n == 1:
        print(*a[0])
        quit()
    for cy in range(101):
        for cx in range(101):
            for i in range(n):
                x,y,h = a[i]
                if h > 0:
                    H = abs(x-cx)+abs(y-cy)+h
                    break
            f = True
            for i in range(n):
                x,y,h = a[i]
                if max(H-abs(x-cx)-abs(y-cy),0) != h:
                    f = False
                    break
            if f:
                print(cx,cy,H)
                quit()
#D
def D():
    def factorize(n):
        if n == 1:
            return [1]
        if n<4:
            return [1,n]
        l = [1,n]
        m = n
        z = 2
        while z**2 <= n:
            if m%z == 0:
                l.append(z)
                if m//z != z:
                    l.append(m//z)
            z += 1
        l = list(set(l))
        l.sort()
        return l

    n,m = LI()
    l = factorize(m)
    for i in l[::-1]:
        if n*i <= m:
            print(i)
            quit()

#E
def E():
    return

#F
def F():
    return

#G
def G():
    return

#H
def H():
    return

#Solve
if __name__ == "__main__":
    A()

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

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

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

if __name__ == '__main__':
    print(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:
# -*- 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:
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")
else:
  s = [int(input()) for i in range(n)]
  print(sum(s))

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

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

Submission status: Accepted

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

Submission status: Accepted

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

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")
if 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:
    b = int(input())
    c = int(input())
    print(c+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 = int(input())
if N == 1:
    print('Hello World')
else:
    A,B = [int(input()),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:
# coding: utf-8
# Your code here!

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

Submission status: Accepted

Solution code:
N=int(input())
if N==1:
    print("Hello World")
elif N==2:
    A=int(input())
    B=int(input())
    print(str(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")
elif 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:
y, = map(int, input().split())
if y == 1:
    print('Hello World')
else:
    a, = map(int, input().split())
    b, = map(int, input().split())
    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:
	print(int(input()) + int(input()))

Submission status: Accepted

Solution code:
import numpy as np
import sys
 
stdin = sys.stdin
 
ni = lambda: int(ns())
na = lambda: list(map(int, stdin.readline().split()))
ns = lambda: stdin.readline().rstrip()  # ignore trailing spaces
 
n = ni()
if n==1:
    print('Hello World')
else:
    a = ni()
    b = ni()
    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:
# coding: utf-8
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:
    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 == 1):
  print("Hello World")
else:
  A = int(input())
  B = int(input())
  print(A+B)

Submission status: Accepted

Solution code:
#!/usr/bin/env python3


# Generated by 1.1.3 https://github.com/kyuridenamida/atcoder-tools  (tips: You use the default template now. You can remove this line by using your custom template)
def main():
    # Failed to predict input format
    N = int(input())
    if N == 1:
        print("Hello World")
    else:
        A = int(input())
        B = int(input())
        print(A+B)
    pass


if __name__ == '__main__':
    main()

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)

Submission status: Accepted

Solution code:
y=int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N, = (int(x) for x in input().split())

if N == 1:
    print("Hello World")
else:
    A, = (int(x) for x in input().split())
    B, = (int(x) for x in input().split())
    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:
def programming_education(N: int) -> str:
    if N == 1:
        return 'Hello World'

    A = int(input())
    B = int(input())
    return str(A + B)


if __name__ == "__main__":
    N = int(input())
    ans = programming_education(N)
    print(ans)

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:
i=input;print('2'>i()and'Hello World'or int(i())+int(i()))

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

print(a+b)

Submission status: Accepted

Solution code:
ri = lambda: int(input())
rl = lambda: list(map(int,input().split()))
rr = lambda N: [ri() for _ in range(N)]
YN = lambda b: print('YES') if b else print('NO')
INF = 10**18

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

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
else:
    A, B = map(int, [input() for i in range(2)])
    print(A+B)

Submission status: Accepted

Solution code:
N = int(input())

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

print(ans)
print()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# https://atcoder.jp/contests/abc112/tasks/abc112_a
n = input()
if n == "1":
    print("Hello World")
elif n == "2":
    print(int(input()) + int(input()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
#-*- coding:utf-8 -*-
"""
2020年, AtCoder社は年商10億円を超え, プログラミング教育にも手を出すようになった.
ある日行われたテストでは, 1才児は Hello world を出力するプログラムを, 2才児は整数A,Bを入力してA+Bを出力するプログラムを書かなければならない.
高橋君はこのテストを受けているが, 突然自分が何才なのかが分からなくなってしまった.
そこで, 最初に自分の年齢N(Nは1または2)を入力し, N=1ならば Hello World と出力し, N=2ならばA,Bを入力してA+Bを出力するプログラムを作ることにした.
高橋君に代わって, このようなプログラムを作りなさい.
"""
def kadai1():
    print("Hello World")


def kadai2():
    A = int(input())
    B = int(input())
    print(A + B)


def main():
    N = int(input())
    if N == 1:
        kadai1()
    else:
        kadai2()


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
def solve(string):
    flag, *ab = map(int, string.split())
    return str(sum(ab)) if flag - 1 else "Hello World"


if __name__ == '__main__':
    flag = int(input())
    if flag - 1:
        flag = "{}\n".format(flag) + "\n".join([input(), input()])
    print(solve(str(flag)))

Submission status: Accepted

Solution code:
N=int(input())

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:

# coding: utf-8

# In[5]:


N = int(input())

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

Submission status: Accepted

Solution code:
from sys import stdin

n = int(stdin.readline().rstrip())
if n == 1:
  print("Hello World")
else:
  print(sum([int(stdin.readline().rstrip()) for _ in range(n)]))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
input()
try:print(int(input())+int(input()))
except: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")
elif n == 2:
    a = int(input())
    b = int(input())
    print(a + b)
else:
    print(n)

Submission status: Accepted

Solution code:
#cording: 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")
if n==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=int(input())

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

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')
elif N ==2:
	A, B = list([int(input()) for i in range(N)])
	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")
else:
  A = int(input())
  B = int(input())
  print(A + B)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

import math
import sys
import heapq
from operator import itemgetter
import itertools
input = sys.stdin.readline

# a = int(input().rstrip())
# a, b = map(int, input().rstrip().split())
# D = list(map(int, input().rstrip().split()))
# H = [int(input().rstrip()) for _ in range(L)]
# DD = [[0 for j in range(100)] for i in range(200)]
# dict = {} ## dictionary

# a = sorted(a, key=lambda x: x[1]))
# if __name__ == '__main__':

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

Submission status: Accepted

Solution code:
from sys import exit

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
age = int(input())
if age == 1:
    print('Hello World')
    
if age == 2:
    s = [int(input()) for i in range(2)]
    print(int(s[0] + s[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:
from sys import stdin

N = int(input())

if N == 1:
    print('Hello World')
if N == 2:
    A, B = map(int, stdin.read().split())
    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:
# https://atcoder.jp/contests/abc112/tasks/abc112_a

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:
  a, b = [int(input()) for i in range(2)]
  print(a+b)

Submission status: Accepted

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

Submission status: Accepted

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

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


main()

Submission status: Accepted

Solution code:
def main() -> None:
    n = int(input())
    if n == 1:
        print("Hello World")
    elif n == 2:
        print("%s" % (int(input()) + int(input())))


if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
year = int(input())

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

    print(int(a+b))

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")
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:
  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:
import sys
 
def main():
  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:
  p = int(input())
  q = int(input())
  print(p + q)

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

N = int(input())

if N == 1:
    print("Hello World")
    sys.exit()
AB = [int(input()) for _ in range(2)]
print(sum(AB))

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",end="")
else:
    a = int(input())
    b = int(input())
    print(a+b,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:
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:
  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 -*-
# Luis Yoichi Morales January 2019

N = int( raw_input() )

if N == 1:
    print 'Hello World'
else:
    sum=0
    i=0
    while i < 2:
        sum+= int( raw_input() )
        i+=1
    print sum

Submission status: Accepted

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