17009. Winning Score

py_code·2020년 11월 25일
0

백준-브론즈4

목록 보기
49/51
a = tuple(int(input()) for _ in range(3))
b = tuple(int(input()) for _ in range(3))
sum_a = 3*a[0] + 2*a[1] + 1*a[2]
sum_b = 3*b[0] + 2*b[1] + 1*b[2]
print('A' if sum_a>sum_b else 'B' if sum_b>sum_a else 'T')
profile
개발자를 꿈꿉니다.

0개의 댓글