백준_단계별로 풀어보기_2단계 조건문

########## 백준 1330 ##########
a, b = map(int, input().split())

if a > b:
    print(">")
elif a < b:
    print("<")
else:
    print("==")

# 고수풀이: true, false의 1, 0 index 사용
# print(('<>'[a>b],'==')[a==b]) 


########## 백준 9498 ##########
score = int(input())
if score >= 90:
    print("A")
elif score >= 80:
    print("B")
elif score >= 70:
    print("C")
elif score >= 60:
    print("D")
else:
    print("F")


########## 백준 2753 ##########
year = int(input())
print(1 if (year%4 == 0 and year%100 !=0) or year%400 == 0 else 0)


########## 백준 14681 ##########
x = int(input())
y = int(input())
if y>0:
    print(2 if x < 0 else 1)
elif y<0:
    print(3 if x < 0 else 4)
    
# 고수풀이
# print(("3421"[x>0::2])[y>0])


########## 백준 2884 ##########
h, m = map(int, input().split())

if m < 45:
    m += 15
    if h == 0: h = 23
    else: h -= 1
else: m -= 45
print(h,m)

#고수풀이
# total = h * 60 + m - 45
# if total < 0:
#     total += 60 *24
# h = total // 60
# m = total % 60
# print(h, m)


########## 백준 2525 ##########
a, b = map(int, input().split())
c = int(input())

total = a*60 + b + c
a = total // 60 % 24
b = total % 60
print(a,b)

# print((a+((b+c)//60))%24,(b+c)%60) #고수풀이


########## 백준 2480 ##########
a, b, c = map(int, input().split())
score = 0

if a == b == c:
    score = 10000+a*1000
elif a == b or a == c:
    score = 1000+a*100
elif b == c:
    score = 1000+c*100
else:
    score = max(a, b, c) * 100
print(score)