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:
n=int(input())
if n==1:print("Hello world")
else:
    a,s=map(int,input().split())
    print(a+s)

Submission status: Runtime Error

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

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


lst = list(map(int, input().split()))
if lst[0] == 1:
    print("Hello World")
else:
    print(lst[1] + lst[2])

Submission status: Runtime Error

Solution code:
# coding: utf-8
import sys

sr = lambda: sys.stdin.readline().rstrip()
ir = lambda: int(sr())
lr = lambda: list(map(int, sr().split()))

N = ir()
if N == 1:
    pritn('Hello World'); exit()
A = ir(); B = ir()
answer = A + B
print(answer)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
xyh = [list(map(int, input().split())) for i in range(N)]
# print(N, xyh)

height = None
found = False
for cx in range(0, 101):
    for cy in range(0, 101):
        candidate = None
        for x, y, h in xyh:
            if h == 0: continue
            dx = abs(x - cx)
            dy = abs(y - cy)
            candidate = dx + dy + h 
            break
        
        found = True
        for x, y, h in xyh:
            if h == 0: continue
            if h + abs(x - cx) + abs(y - cy) != candidate:
                found = False
                break
        
        if found is True: break
    if found is True: break
height = candidate if candidate is not None else 0

print(cx, cy, height)

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=input()
if (n==1):
print("Hello world")
else:
a=input()
b=input()
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())
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())
if n%2!=0:
	print('Hello Wordl')
elif:
	print(int(input())+int(input()))

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N,T=map(int,input().split())
ct=[list(map(int,input().split())) for a in range(N)]

ct=sorted(ct, key=lambda x:(x[0],x[1]))

print(ct[0])
for i in range(N):
    if ct[i][1]<=t:
        print(ct[i][0])
        break
else:
    print('TLE')

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
MOD = 10 ** 9 + 7
INF = 10 ** 10
import sys
sys.setrecursionlimit(100000000)
dy = (-1,0,1,0)
dx = (0,1,0,-1)
from math import gcd

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

Submission status: Runtime Error

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

import math

divisor=[]
for i in range(1, math.ceil(math.sqrt(M))+1):
    if M%i==0:
        divisor.append(i)
#print(divisor)

divisor+=[M//val for val in reversed(divisor)]
#print(divisor)
for val in divisor:
    if val>=N:
        print(M//val)
        break

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

Submission status: Runtime Error

Solution code:
N = int(input())

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

print(answer)

Submission status: Runtime Error

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

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,m=map(int,input().split())
m_root=int(m**0.5)
div_l=[]
ans=0

for i in range(1,m_root + 1):
    if m%i == 0:
        div_l.append(i)
        div_l.append(m//i)

if m//n in div_l:
    ans = m//n
else:
    div_l.append(m//n)
    div_l.sort()
    ans = div_l[div_l.index(m//n) - 1]
print(ans)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n=input()
a,b=map(int,input().split())
if n=="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:
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 = input()
A = input()
B = input()

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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:
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,T=map(int,input().split())
m=1001
for i in range(N):
    c,t=map(int,input().split())
    if t<=T:m=min(m,c)
print("TLE" if m==1001 else 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:
n=int(input())
if n==1:
	print('Hello World')
	exit()
else:
	a,b=map(int,input().split())
	print(a+b)

Submission status: Runtime Error

Solution code:
a = int(input())  
n = []
for i in range(a):
    n.append(input())
if sum(n) = 0:
  print("Hello World")
else :
  print(sum(n))

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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 = list(map(int, input().split()))
  print(a + b)

Submission status: Runtime Error

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

Submission status: Runtime Error

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

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

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = input()
if N == '1':
    print('Hello World')
A,B = [int(input()) for _ in range(2)]
print(A+B)

Submission status: Runtime Error

Solution code:
n,t=map(int,input().split())
ct=[list(map(int,input().split())) for i in range(n)]
ans=float('inf')
ok=False
for i in range(n):
  if ct[i][1]<=t:
    ans=min(ans,ct[i][0])
    ok=True
if ok:
  print(ans)
else:
  print('TLE')

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")
elif n==2:
  print(a+b)

Submission status: Runtime Error

Solution code:
print((int(input())==2)*(int(input())+int(input())) or "Hello World")

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N, T = map(int,input().split())
mincost = 1001
for i in range(1, N+1):
    c, t = map(int,input().split())
    if t <= T:
        cost = c
        if cost < mincost:
            mincost = cost

if mincost == 1001:
  print('TLE')
if mincost < 1001:
  print(mincost)

Submission status: Runtime Error

Solution code:
N, T = map(int,input().split())
mincost = 1000
for i in range(1, N+1):
    c, t = map(int,input().split())
    if t <= T:
        cost = c
        if cost < mincost:
            mincost = cost

if mincost == 1000:
  print('TLE')
if mincost < 1000:
  print(mincost)

Submission status: Runtime Error

Solution code:
N, T = map(int,input().split())
mintime = 1000
for i in range(1, N):
    c, t = map(int,input().split())
    if t <= T:
        time = t
        if time < mintime:
            mintime = time

print(mintime)

Submission status: Runtime Error

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

c_min = 1001
t_ = None
for _ in range(N):
    c, t = map(int, input().split())
    if T >= t and c_min > c:
        c_min = c
        t_ = t
if t_ == None:
    print("TLE")
else:
    print(c_min)

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')
  exit(0)
else:
  a, b = map(int, input().split())
  print(a)
  print(b)

Submission status: Runtime Error

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

d = {}
for _ in range(N):
    Ns = [int(i) for i in input().split()]
    time = Ns[1]
    if time <= T:
        d[Ns[0]] = time
if d:
    print(min(d))
else:
    print('TLE')

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:
k = int(input())
if k==2:
  a,b=map(int, input().split(' '))
  print(a+b)
else:
  print("Hello World")

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
def main():
    from sys import stdin
    #r = stdin.readline()[:-1]
    r = stdin.readlines()

    if r[0] == '1':
        print('Hello World')
    else:
        print(r[1] + r[2])
   
if __name__ == '__main__':
    main()

Submission status: Runtime Error

Solution code:
N = int(intput())

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

else:
  print(sum([int(input()) for i in range(2)]))

Submission status: Runtime Error

Solution code:
N, a, b = [int(input()) for i in range(3)]

print('Hello World' if N == 1 else str(a + b))

Submission status: Runtime Error

Solution code:
N, a, b = [int(input()) for i in range(3)]

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

Solution code:
A = int(input())
B = int(input())
print(6 - A - B)

Submission status: Runtime Error

Solution code:
n=int(input())

zahyo=[]

for _ in range(n):
    zahyo.append(list(map(int,input().split())))

for x in range(101):
    for y in range(101):

        flag=0
        saisho=10**9+1
        H=0
        for item in zahyo:
            if item[2]==0:
                saisho=min(saisho,abs(x-item[0])+abs(y-item[1]))
            else:
                if H==0:
                    H=item[2]+abs(item[0]-x)+abs(item[1]-y)
                else:
                    H_temp=item[2]+abs(item[0]-x)+abs(item[1]-y)
                    if H_temp!=H:
                        flag=1
                        break
        if flag==0 and H<=saisho:
            print(x,y,H)

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:
a = [int(input()) for i in range(3)]
N=a[0]
A=a[1]
B=a[2]

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

Submission status: Runtime Error

Solution code:
n = int(input())

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

if n == 2:
    a = [int(input()) for _ in range(2)]

    print(sum(a))

Submission status: Runtime Error

Solution code:
n = int(input())

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

if n == 2:
    for _ in range(2):
        a = [int(input())]

    print(sum(a))

Submission status: Runtime Error

Solution code:
n = int(input)

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

if n == 2:
    for _ in range(2):
        a = [int(input())]

    print(a[0]+a[1])

Submission status: Runtime Error

Solution code:
n = int(input)

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

if n == 2:
    for _ in range():
        a, b = int(input())

    print(a+b)

Submission status: Runtime Error

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

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:
import math
 
N,M=map(int,input().split())

for i in range(M//N +1,0,-1):
    if(M%i==0):
        if((M//i)>=N):
            print(i)
            exit()

Submission status: Runtime Error

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

Submission status: Runtime Error

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

Submission status: Runtime Error

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

ans = []

for i in range(N):
    c,t = map(int, input().split())
    if T > t[i]:
        number = c[i]
        ans.appned(number)
    

if len(ans) == 0:
    print("TLE")
else:
    print(min(ans))

Submission status: Runtime Error

Solution code:
#include <iostream>

using namespace std;

int main()
{
    int n;
    cin >> n;

    if (n == 1)
    {
        cout << "Hello World!" << endl;
    }
    else
    {
        int A, B;
        cin >> A;
        cin >> B;

        cout << A + B << endl;
    }
}

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n, a, b = [int(input()) for i in range(3)]
if n==1:
  print('Hello World')
else:
  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:
n = input()
if n = 1:
    print("Helllo 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=tuple(map(int,input().split()))
    print(A+B)

Submission status: Runtime Error

Solution code:
N,T=map(int,input().split())
ls=[int(input()) for _ in range(N)]
ans=10**18
for i in ls:
  if i[0] <= T:
    ans = min(ans,i[1])
if ans < 10**18:
  print(ans)
else:
  print('TLE')

Submission status: Runtime Error

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

Submission status: Runtime Error

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

elif N==2:
  print(s[0]+s[1])

Submission status: Runtime Error

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

elif N==2:
  print(A+B)

Submission status: Runtime Error

Solution code:
n=int(input())
li=[]
cnt=[]
for i in range(n):
    x,y,h=map(int,input().split())
    li.append([x,y,h])
for j in range(0,101):
    for k in range(0,101):
        for l in range(n):
            if li[l][2]!=0:
                cnt.append(li[l][2]+abs(li[l][0]-j)+abs(li[l][1]-k))
            elif l!=0 and li[l][2]==0:
                if cnt[0]-abs(li[l][0]-j)-abs(li[l][1]-k)>0:
                    cnt.append(0)               
        if len(set(cnt))==1 and max(cnt[0]-abs(li[0][0]-j)-abs(li[0][1]-k),0)==li[0][2]:
            ans=[j,k,cnt[0]]
            break
        else:
            cnt=[]

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

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().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(inr, input().split())
  print(a+b)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
n, a, b = map(int, open(0).read().split())
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())

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

Submission status: Runtime Error

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

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

Submission status: Runtime Error

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

x = xyh[0][0]
y = xyh[0][1]
h = xyh[0][2]

for cx in range(0,101):
  for cy in range(0,101):
    H = abs(xyh[0][0] - cx) + abs(xyh[0][1] - cy) + xyh[0][2]
    for x,y,h in xyh:
      if h != max(H - abs(x - cx) - abs(y - cy),0):
        break
    else:
      print(cx,cy,H)
      break

Submission status: Runtime Error

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

x = xyh[0][0]
y = xyh[0][1]
h = xyh[0][2]

for cx in range(0,101):
  for cy in range(0,101):
    H = abs(x - cx) + abs(y - cy) + h
    for i in range(1,N):
      if xyh[i][2] != max(H - abs(xyh[i][0] - cx) - abs(xyh[i][1] - cy),0):
        break
    else:
      print(cx,cy,H)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
#Partition
import math
N,M = map(int,input().split())
n = 1
rootM = int(math.sqrt(M))
for i in range(rootM+1):
    if M % (i+1) == 0 and N*(i+1) <= M:
        n = i+1
if N == 1:
    n = M
print(n)

Submission status: Runtime Error

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

Submission status: Runtime Error

Solution code:
N = int(input())
 
grid = []
p,q,r = (0,0,0)

for _ in range(N):
    l,m,n = map(int, input().split())
    grid.append([l, m, n])
    if N:
      p = l
      q = m
      r = n

flag = 0

#101*101通りのため、中心座標cx,cyについて全探索を行う 
for cx in range(101):
    for cy in range(101):
        #各cs,cyについて座標の高さを求める
        h = r + abs(p - cx) + abs(q - cy)
        if all(c == max(h - abs(a - cx) - abs(b - cy), 0) for a, b, c in grid):
            print(cx,cy,h)
            exit(0)

Submission status: Runtime Error

Solution code:
import sys
def input():
    return sys.stdin.readline()[:-1]
n=int(input())
if n==1:
    print("Hello World")
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:
n=int(input())
if n==1:
    print("Hello Wrold ")
elif 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:
  print(str(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')
else: print(a+b)

Submission status: Runtime Error

Solution code:
import sys
n = int(input())
xyh = [list(map(int, input().split())) for _ in range(n)]

answer = []
          
for cx in range(101):
  for cy in range(101):
    ## 全ての条件を満たすかどうかをみていく
    prev = xyh[0][2]+abs(xyh[0][0]-cx)+abs(xyh[0][1]-cy)
    for xxyyhh in xyh[1:]:
      x = xxyyhh[0]
      y = xxyyhh[1]
      height = xxyyhh[2]
      
      if height > 0:
        H = height+abs(x-cx)+abs(y-cy)
        if prev == H:
          prev = H
          continue
        else:
          break  
      else:
        continue
    else:
      print(cx,cy,prev)
      sys.exit()