본문 바로가기
Beakjoon&프로그래머스/파이썬

[백준/파이썬] 31429번 SUAPC 2023 Summer

by 현장 2024. 2. 19.

-Code

solved = [12, 11, 11, 10, 9, 9, 9, 8, 7, 6, 6]
penalty = [1600, 894, 1327, 1311, 1004, 1178,
           1357, 837, 1055, 556, 773]
n = int(input()) - 1

print(solved[n], penalty[n])