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: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))
if takahashi[0] == 1:
  print("Hello World")
  exit()
else:
  X = takahashi[1] + takahashi[2]
  print(X)

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] == 1:
  print("Hello World")
  exit()

else:
  X = takahashi[1] + takahashi[2]
  print(X)

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] == 1:
  print("Hello World")
  exit()
else :
  print(takahashi[1] + takahashi[2])

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] == 1:
  print("Hello World")
else :
  print("takahashi[1] + takahashi[2]")

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] == 1:
  print("Hello World")
else :
  print(takahashi[1] + takahashi[2])

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] = 1:
  print("Hello World")
else :
  print(takahashi[1] + takahashi[2])

Submission status: Runtime Error

Solution code:
takahashi = list(int(input()) for i in range(3))

if takahashi[0] = 1:
  print("Hello World")
else :
  print(A+B)

Submission status: Runtime Error

Solution code:
n = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

Solution code:
N=int(input())
A=int(input())
B=int(input())

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

Submission status: Runtime Error

Solution code:
N=int(input())
A=int(input())
B=int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
def get_h(pos,cx,cy,H):
  r= H - abs(pos[0]-cx) - abs(pos[1]-cy)
  return r

points = []
for i in range(n):
  x,y,h = map(int,input().split())
  if h == 0:
    continue
  points.append([x,y,h])
  
ans = []
if ans == []:
  for i in range(101):
    for j in range(101):
      d = get_h(points[0],i,j,0)- get_h(points[1],i,j,0)
      if points[0][2]- points[1][2] == d:
        ans.append([i,j])
for k in range(len(points)):
  for l in range(k+1,len(points)):
    for elem in ans[:]:
      i = elem[0]
      j = elem[1]
      if points[k][2] - points[l][2] != abs(points[l][0]-i) + abs(points[l][1]-j)- abs(points[k][0]-i)-abs(points[k][1]-j):
        ans.remove(elem)
h = abs(points[0][0]-ans[0][0])+abs(points[0][1]-ans[0][1]) + points[0][2]
print('{} {} {}'.format(ans[0][0],ans[0][1],h))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
n = int(input())
if n == 1:
	print('Hello World)
	sys.exit()
print(sum([int(input()) for _ in range(2)]))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def resolve():
    N = int(input())
    conds = [list(map(int, input().split(" "))) for i in range(N)]
    
    # [[cx, cy, H]]
    candidates = []

    first = sorted(conds, reverse=True, key=lambda x:x[2])[0]
    for cx in range(101):
        for cy in range(101):
            H = abs(first[0]-cx)+abs(first[1]-cy)+first[2]
            for n in range(1, N):
                cond = conds[n]
                if cond[2] == 0:
                    if abs(cond[0]-cx)+abs(cond[1]-cy) < cond[2]: 
                        ansflg = False
                        break
                else:
                    if abs(cond[0]-cand[0])+abs(cond[1]-cand[1])+cond[2] != H:
                        ansflg = False
                        break
            else:
                print("{} {} {}".format(cx, cy, H))
                exit()


if '__main__' == __name__:
    resolve()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = int(input())
B = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = int(input())
B = int(input())

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

Submission status: Runtime Error

Solution code:

lst_1 = input().split()

N = int(lst_1[0])
T = int(lst_1[1])

ans = "TLE"
cost_min = 9999

lst_A = []

for i in range(N):

    lst_A.append(input().split())

for i in range(N):

    if (int(lst_A[i][0]) < cost_min) and (int(lst_A[i][0]) <= T):
        ans = int(lst_A[i][0])

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())

if n == 1:
    print("Hello World")
elif n ==2:
    a, b = map(int, input().split())
    ans = a+b
    print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())

if n == 1:
    print("Hello World")
else:
    a, b = map(int, input().split())
    ans = a+b
    print(ans)

Submission status: Runtime Error

Solution code:
n = int(input())

if n == 1:
    print("Hello World")
else:
    a, b = map(int, input().split())
    ans = a+b
    print(ans)

Submission status: Runtime Error

Solution code:
n = input()

if n == 1:
    print("HEllo World")
else:
    a, b = map(int, input().split())
    ans = a+b
    print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N, A, B = map(int, input().split())

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

Submission status: Runtime Error

Solution code:
N,T=map(int,input().split())
list_c=[]
list_t=[]
for i in range(N):
    c,t=list(map(int,input().split()))
    if t<=T:
        list_c.append(c)
        list_t.append(t)
print("TLE" if len(list_t)==0 else min(list_c))

Submission status: Runtime Error

Solution code:
n = int(input())
xyhs = []
for _ in range(n):
    xyhs.append(tuple(map(int, input().split())))

xyhs = sorted(xyhs, key=lambda v: v[2], reverse=True)

anss = []
for y in range(101):
    for x in range(101):
        x0, y0, h0 = xyhs[0]
        ht = h0 + abs(x0 - x) + abs(y0 - y)

        flag = True
        for xyh in xyhs[1:]:
            xi, yi, hi = xyh
            his = max(ht - abs(xi - x) - abs(yi - y), 0)
            if his != hi:
                flag = False
                break

        if flag:
            anss.append((x, y, ht))

print(anss[0][0], anss[0][1], anss[0][2])

Submission status: Runtime Error

Solution code:
n  = input()

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = int(input())
b = int(input())

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = int(input())
b = int(input())

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

Submission status: Runtime Error

Solution code:
n = int(input())
s = [list(map(int, input().split())) for i in range(n)]

for cx in range(101):
    for cy in range(101):
        flag = True
        flag_init = True
        for _n in range(n):
            if s[_n][2] != 0:
                H = s[_n][2] + abs(s[_n][0] - cx) + abs(s[_n][1] - cy)
                if flag_init:
                    H0 = H
                    flag_init = False
                else:
                    if H != H0:
                        flag = False
        if flag == True:
            print(cx, cy, H)

Submission status: Runtime Error

Solution code:
for cx in range(101):
    for cy in range(101):
        flag = True
        for _n in range(n):
            if s[_n][2] != 0:
                H = s[_n][2] + abs(s[_n][0] - cx) + abs(s[_n][1] - cy)
                if _n == 0:
                    H0 = H

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=int(input())

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

Submission status: Runtime Error

Solution code:
n = int(input())

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

Submission status: Runtime Error

Solution code:
def make_divisors(n,m):
    divisors = []
    i=1
    while i*i<m:
      if m % i == 0:
          divisors.append(i)
          if i != m // i and m//i<=m//n:
              divisors.append(m//i)
      i+=1
    return divisors
n,m=map(int,input().split())
print(max(make_divisors(n,m)))

Submission status: Runtime Error

Solution code:
def make_divisors(n,m):
    divisors = []
    for i in range(1, (m//n)+1):
        if m % i == 0:
            divisors.append(i)
            if i != m // i and m//i<=m//n:
                divisors.append(m//i)
    return divisors
n,m=map(int,input().split())
print(max(make_divisors(n,m)))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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: Runtime Error

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

if __name__ == '__main__':
    main()

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

else:
  A = int(imput())
  B = int(imput())
  print(A + B)

Submission status: Runtime Error

Solution code:
N = int(input())

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

else:
  A = int(imput())
  B = int(imput())
  
  print(A + B)

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

Solution code:
N = input()

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N,T = map(int, input().split())
c = []
t = []

for i in range(N):
    a,b = map(int, input().split())
    c.append(a)
    t.append(b)

m = 100000
for i in range(1,len(c)):
    if t[i]<= T:
        if m > c[i]:
            m = c[i]
if m == 100:
    print("TLE")
else:
    print(m)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math
N, M = map(int, input().split())

if int(math.sqrt(M)) > N:
    divlist = []
    for i in range (N, int(math.sqrt(M))):
        if M%i == 0:
            divlist.append(i)
    
    if divlist != []:
        for i in range(N, int(math.sqrt(M))):
            if M%i == 0:
                ans = M//i
                break
    else:
        for i in range(N,0,-1):
            if M%i == 0:
                ans = i
                break
else:
    for i in range(M//N,0,-1):
        if M%i == 0:
            ans = i
            break
            
print(ans)

Submission status: Runtime Error

Solution code:
import math
N, M = map(int, input().split())

if int(math.sqrt(M)) > N:
    divlist = []
    for i in range (N, int(math.sqrt(M))):
        if M%i == 0:
            divlist.append(i)
        else:
            continue
    
    if divlist != []:
        for i in range(N, int(math.sqrt(M))):
            if M%i == 0:
                ans = M//i
                break
            else:
                continue
    else:
        for i in range(N,0,-1):
            if M%i == 0:
                ans = i
                break
            else:
                continue
            
else:
    for i in range(M//N,0,-1):
        if M%i == 0:
            ans = i
            break
        else:
            continue

print(ans)

Submission status: Runtime Error

Solution code:
import math
N, M = map(int, input().split())

if int(math.sqrt(M)) > N:
    for i in range(N,int(math.sqrt(M))):
        if M%i == 0:
            ans = M//i
            break
        else:
            continue
else:
    for i in range(M//N,0,-1):
        if M%i == 0:
            ans = i
            break
        else:
            continue

print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = input()
if n == '1' :
    print('Helli World')
else :
    a,b = map(int,input().split())
    print(a+b)

Submission status: Runtime Error

Solution code:
nab = [int(input()) for _ in range(3)]

if nab[0] == 1:
  print('Hello World')
else:
  print(nab[1]+nab[2])

Submission status: Runtime Error

Solution code:
N = int(input())

if N == 1:
    print("Hello World")
elif N == 2:
    A, B = map(int, input().split())

    print(A + B)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
if(N == 1):
  print("Hello World")
else:
  a,b = [int(i) for i in input().split()]
  print(a + b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

if a==2:
  print(int(b+c))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = []
b = []
flag = 0
for i in range(n):
	a.append([int(n) for n in input().split()])
	a[i][0], a[i][2] = a[i][2], a[i][0]
a = sorted(a)
for i in range(0, 101):
	if flag == 1:
		break
	for j in range(0,101):
		if flag == 1:
			break
		h = a[0][0] + abs(i - a[0][2]) + abs(j - a[0][1])
		for k in range(n):
			d = h - abs(i - a[k][2]) - abs(j - a[k][1])
			if (d >= 0 and d != a[k][0]) or (d < 0 and a[k][0] != 0):
				break
			if k == n - 1:
				b.append(i)
				b.append(j)
				b.append(h)
				flag = 1
print(b[0], b[1], b[2])

Submission status: Runtime Error

Solution code:
s=input()
if s=="1":
    print("Hello World")
else:
    a,b=map(int,input().split())
    print(a+b)

Submission status: Runtime Error

Solution code:
s=input()
if s=="1":
    print("Hello World");
else:
    a,b=map(int,input().split())
    print(a+b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import math

N,M = map(int,input().split())
l = []

for i in range(1,math.ceil(math.sqrt(M))):
    if M%i == 0:
        l.append(i)
l.reverse()
for i in l:
    if i <= math.floor(M/N):
        print(i)
        exit()

Submission status: Runtime Error

Solution code:
import math

N,M = map(int,input().split())
l = []
for i in range(1,math.ceil(math.sqrt(M))):
    if M%i == 0:
        l.append(i)
for i in l[::-1]:
    if i <= M//N:
        print(i)
        exit()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import sys
n=int(input())
s=[[int(i) for i in l.split()] for l in sys.stdin]
for cx in range(101):
  for cy in range(101):
    flag=True
    flag2=True
    stack2==10**18
    for i in range(n):
      if flag==False:
        break
      x,y,h=s[i]
      H=abs(x-cx)+abs(y-cy)+h
      if h!=0 and flag2:
        stack=H
        flag2=False
      if h==0:
        stack2=min(stack2,H)
      if h!=0 and flag2==False:
        if stack!=H:
          flag=False
          break
    if flag and stack<=stack2:
      print(cx,cy,H)
      exit()

Submission status: Runtime Error

Solution code:
n = int(input())
t, a = map(int, input().split())
h = list(map(int, input().split()))
ans = 10000

for i in range(n):
    if abs(a - (t - h[i] * 0.006)) < ans:
           ans = abs(a - (t - h[i] * 0.006))
           b = i
print(b + 1)

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n = int(input())
a = int(input())
b = int(input())

if n == 1:
  print("Hello World")
else n == 2:
  print(A+B)

Submission status: Runtime Error

Solution code:
N,T = map(int, input().split())
c = sorted([list(map(int, input().split())) for i in range(N)])
for i in range(N):
    if(c[i][1]<=T):
        print(c[i][0])
        exit()
else :
        print('TLE')

Submission status: Runtime Error

Solution code:
a = int(input())
if a == 1:
    print("Hello World")
else:
    c, b = map(int, input().split())  # 複数数値入力
    print(c+b)

Submission status: Runtime Error

Solution code:
N = int(input())
if N == 1:
  print("Hallo World")
else:
  list = []
  for _ in range(N)
  list.append(int(input()))
  A,B = list
  print(A+B)

Submission status: Runtime Error

Solution code:
N = int(input())
if N == 1:
  print("Hallo World")
  else:
    list = []
    for _ in range(N):
      list.append(int(input()))
    A,B = list
    print(A+B)

Submission status: Runtime Error

Solution code:
N = int(input())
if N == 1:
  print("Hallo World")
  else:
    A, B = [int(x) for x in input()]
    print(A+B)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
from copy import deepcopy
n=int(input())
l=[tuple(map(int,input().split()))for i in range(n)]
l=[i for i in l if i[2]!=0]
s=l[0]
l2=[[x,y,s[2]+abs(x-s[0])+abs(y-s[1])]for y in range(101)for x in range(101)]
l3=deepcopy(l2)
for s in l3:
    for t in l:
        if s[2]!=t[2]+abs(s[0]-t[0])+abs(s[1]-t[1]):
            try:
                l2.remove(s)
            except:
                continue
print(*l2[0])

Submission status: Runtime Error

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: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = int(input())
B = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())
A = int(input())
B = int(input())

if N ==1:
    print("Hello world")
else:
    print(A+B)

Submission status: Runtime Error

Solution code:
N=int(input())
L=[list(map(int,input().split())) for i in range(N)]
x=[]
y=[]
h=[]
for l in L:
    x.append(l[0])
    y.append(l[1])
    h.append(l[2])
Cx=0
Cy=0
H=0

for i in range(101):#Cx
    for j in range(101):#Cy
        flag=True
        for k in range(N):
            if h[k]!=0:
                H=h[k]+abs(i-x[k])+abs(j-y[k])
                break

        for k in range(N):
            if h[k]!=max(H-abs(i-x[k])-abs(j-y[k]),0):
                flag=False
                break
        
        if flag==True:
            Cx,Cy=i,j
            break
    if flag==True:
        break
print("{} {} {}".format(Cx,Cy,H))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
y=int(input())
a=int(input())
b=int(input())

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
import numpy as np
N = int(input())
data = np.zeros((N,3))
for i in range(N):
    data[i] = np.array(input().split())

for n in range(10201):
    C_x = n // 101
    C_y = n % 101
    correctflg = True
    unsetflg = True
    for i,(x,y,h) in enumerate(data):
        if unsetflg:
            if h >= 1:
                H = abs(x-C_x)+abs(y-C_y)+h
                unsetflg = False
        else:
            if h >= 1 and H != abs(x-C_x)+abs(y-C_y)+h:
                correctflg = False
                break 
    if correctflg:
        print(C_x,C_y,int(H))
        break

Submission status: Runtime Error

Solution code:
if int(input())==1:
  print("Hello World")
else:
  A,B=map(int,input().split())
  print(A+B)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
Old = int(input())
if Old == 1:
    print('Hello World')
else:
    A, B = map(int, input().split())
    print(A + B)

Submission status: Runtime Error

Solution code:
Old = int(input())
if Old == 1:
    print('Hello world')
else:
    A, B = map(int, input().split())
    print(A + B)