# import time
#
# a = ['영', '일', '이', '삼', '사', '오', '육', '칠', '팔', '구']
# units = ['', '십', '백', '천', '만', '억', '조', '경', '해']
#
#
# def f(n):
# if n == 0:
# return a[0]
#
# result = ""
# unit_idx = 0
#
# while n > 0:
# num = n % 10
# if num > 0:
# result = a[num] + (units[unit_idx] if num != 1 or unit_idx == 0 else "") + result
# n = n // 10
# unit_idx += 1
#
# return result
#
#
# cnt = 0
# while True:
# print(f"{f(cnt)}현우")
# time.sleep(1/16)
# cnt += 1
# H, I, A, R, C = map(int, input().split())
# print((H*I)-(A*R*C))
# a = int(input())
# b = int(input())
# if a > 10:
# a = a-24
#
# if a-b < 0:
# print(b-a)
# else :
# print(a-b)
# a, b, c = map(int, input().split())
# if a == b == c:
# print('*')
# elif a == b:
# print('C')
# elif b == c:
# print('A')
# else:
# print('B')
a = int(input())
b = int(input())
if a <= 60:
print((a+b)*1500)
else:
a = a-(60+b)
print(((60 + b)*1500)+(a*3000))
top of page

기능을 테스트하려면 라이브 사이트로 이동하세요.
2025-02-14
2025-02-14
댓글 0개
좋아요
댓글(0)
bottom of page