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:
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')
if(N == 2):
    List = list(int(input()) for i in range(2))
    print(List[0] + List[1])

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:
    l = [int(input()) for i in range(2)]
    print(l[0]+l[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 == 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:
def abc():
    age = int(input().rstrip())

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

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


abc()

Submission status: Accepted

Solution code:
import sys
sys.setrecursionlimit(10**7)
def lmi(): return list(map(int, input().split()))

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:
import numpy as np

# 初期値を入力

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

Submission status: Accepted

Solution code:
N = int(input())


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

Submission status: Accepted

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

Submission status: Accepted

Solution code:

X = int(input())
if X == 1:
    print('Hello World')
elif X == 2:
    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:
age = int(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 -*-

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

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

Submission status: Accepted

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

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

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

Submission status: Accepted

Solution code:
import sys, os

f = lambda:list(map(int,input().split()))
if 'local' in os.environ :
    sys.stdin = open('./input.txt', 'r')

def solve():
    n = f()[0]

    if n == 1:
        print('Hello World')
    else:
        a = f()[0]
        b = f()[0]
        print(a+b)


solve()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
from sys import stdin
N = int(stdin.readline().rstrip())
if N == 1:
    print('Hello World')
else:
    A, B = [int(stdin.readline().rstrip()) for _ in range(N)]
    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:
from __future__ import print_function
# import numpy as np
# import numpypy as np
import sys
import math
import string
import fractions
import re
import array
import copy
import functools
import operator

import collections
import itertools
import bisect
import heapq


from heapq import heappush
from heapq import heappop

# from itertools import accumulate
# from collections import deque
import random




def eprint(*args, **kwargs):
    print(*args, file=sys.stderr, **kwargs)


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')
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 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())
    ans = a+b
    print(ans)

Submission status: Accepted

Solution code:

l = input()
N = int(l)

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

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
N = int(input())

if N == 1:
    print('Hello World')
else:
    AB = [int(input()) for _ in range(2)]
    print(sum(AB))

Submission status: Accepted

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

Submission status: Accepted

Solution code:
age = int(input())

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

Submission status: Accepted

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


if __name__ == "__main__":
    main()

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n = int(input())

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

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
first = int(input())

if first == 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)
else:
    pass

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
A - Programming Education
https://atcoder.jp/contests/abc112/tasks/abc112_a

"""
import sys


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


def main(args):
    N = int(input())
    ans = solve(N)
    print(ans)


if __name__ == '__main__':
    main(sys.argv[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:
import sys
import bisect
input = sys.stdin.readline

N = int(input())

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

Submission status: Accepted

Solution code:
import sys


def input():
    return sys.stdin.readline()[:-1]

# N = int(input())
# A = [int(x) for x in input().split()]
# a, b, c = map(int, input().split())
# name1 = str(input())
# alph = {"A": 1, "B": 2, "C": 3, "D": 4, "E": 5}


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 == 2:
  aa = int(input())
  bb = int(input())
  print(aa + bb)
else:
  print('Hello World')

Submission status: Accepted

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

Submission status: Accepted

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

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__':
    I = int(input())
    if I == 2:
        A = int(input())
        B = int(input())

    if I == 1:
        print('Hello World')
    elif I == 2:
        print(str(A+B))

Submission status: Accepted

Solution code:
x = int(input())
if x == 1:
    print("Hello World")
else:
    a = int(input())
    b = int(input())
    print(str(int(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")
elif age == 2:
    print(int(input())+int(input()))

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:
    num = []
    for _ in range(n):
        num.append(int(input()))
    print(sum(num))

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

Submission status: Accepted

Solution code:
n  = input()

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

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

Solution code:
age = int(input())

if age == 1:
    print("Hello World")
else:
    print(sum([int(input()) for x in range(age)]))

Submission status: Accepted

Solution code:
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)

Submission status: Accepted

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

Submission status: Accepted

Solution code:
num = input()

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

Submission status: Accepted

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

from bisect import bisect_left as binl
from copy import copy, deepcopy

def intin():
    input_tuple = input().split()
    if len(input_tuple) <= 1:
        return int(input_tuple[0])
    return tuple(map(int, input_tuple))


def intina():
    return [int(i) for i in input().split()]


def intinl(count):
    return [intin() for _ in range(count)]


def modadd(x, y):
    global mod
    return (x + y) % mod


def modmlt(x, y):
    global mod
    return (x * sy) % mod


def lcm(x, y):
    while y != 0:
        z = x % y
        x = y
        y = z
    return x


def make_linklist(xylist):
    linklist = {}
    for a, b in xylist:
        linklist.setdefault(a, [])
        linklist.setdefault(b, [])
        linklist[a].append(b)
        linklist[b].append(a)
    return linklist


def calc_longest_distance(linklist, v=1):
    distance_list = {}
    distance_count = 0
    distance = 0
    vlist_previous = []
    vlist = [v]
    nodecount = len(linklist)

    while distance_count < nodecount:
        vlist_next = []
        for v in vlist:
            distance_list[v] = distance
            distance_count += 1
            vlist_next.extend(linklist[v])
        distance += 1
        vlist_to_del = vlist_previous
        vlist_previous = vlist
        vlist = list(set(vlist_next) - set(vlist_to_del))

    max_distance = -1
    max_v = None
    for v, distance in distance_list.items():
        if distance > max_distance:
            max_distance = distance
            max_v = v

    return (max_distance, max_v)


def calc_tree_diameter(linklist, v=1):
    _, u = calc_longest_distance(linklist, v)
    distance, _ = calc_longest_distance(linklist, u)
    return distance


###############################################################################


def main():
    n = intin()

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


if __name__ == '__main__':
    main()

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

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:
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:
#!/usr/bin/env python3
import sys
from math import *
from itertools import *
from collections import *
from functools import *
try:
    from math import gcd
except Exception:
    from fractions import gcd
readInt = lambda: int(sys.stdin.readline())
readIntN = lambda: [int(v) for v in sys.stdin.readline().split(' ')]



def main():
    n = readInt()
    result = 'Hello World'
    if n == 2:
        a = readInt()
        b = readInt()
        result = a + b
    print(result)

if __name__ == '__main__':
    main()

Submission status: Accepted

Solution code:
def one():
    print('Hello World')
    
def two():
    a = int(input())
    b = int(input())
    print(a+b)
    
c = int(input())
if c == 1:
    one()
else:
    two()

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:
    print(sum([int(input()) for i in range(n)]))

Submission status: Accepted

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

Submission status: Accepted

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

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

Submission status: Accepted

Solution code:
a=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:
  g=int(input())
  h=int(input())
  print(g+h)

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:
    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:
if input() == '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')
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 functools
import math

import os

INF = float('inf')


def inp():
    return int(input())


def inpf():
    return float(input())


def inps():
    return input()


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


def inlf():
    return list(map(float, input().split()))


def inls():
    return input().split()


def debug(fn):
    if not os.getenv('LOCAL'):
        return fn

    @functools.wraps(fn)
    def wrapper(*args, **kwargs):
        print('DEBUG: {}({}) -> '.format(
            fn.__name__,
            ', '.join(
                list(map(str, args)) +
                ['{}={}'.format(k, str(v)) for k, v in kwargs.items()]
            )
        ), end='')
        ret = fn(*args, **kwargs)
        print(ret)
        return ret

    return wrapper


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

a = inp()
b = inp()
print(a+b)

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# ABC112A - Programming Education
n = int(input())
if n == 1:
    print("Hello World")
else:
    a, b = list(map(int, [input().rstrip() for _ in range(2)]))
    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:
#9:25〜27 2min
if int(input())==1: 
	print("Hello World")
else:
	print(int(input())+int(input()))

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
# -*- coding: utf-8 -*-
"""
Created on Thu Apr 18 23:35:07 2019

@author: Yamazaki Kenichi
"""

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 -*-

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

Submission status: Accepted

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

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 ==2):
  A = int(input())
  B = int(input())
  print(int(A+B))
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:
#!/usr/bin/env python
N = int(input())
if N == 1:
    print('Hello World')
else:
    M = [int(input()) for i in range(2)]
    print(sum(M))

Submission status: Accepted

Solution code:
N = int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
n=int(input())

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

Submission status: Accepted

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

Submission status: Accepted

Solution code:
N = int(input())
if N == 1:
    print('Hello World')
    exit()
else:
    l = []
    for i in range(N):
        l.append(int(input()))
print(sum(l))

Submission status: Accepted

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

Submission status: Accepted

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

if __name__ == '__main__':
    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:
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 -*-
import sys
import copy
from bisect import bisect_left

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

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

N = int(input())

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

Submission status: Accepted

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