total_list = [1, 1, 2, 2, 2, 8]
count_list = list(map(int, input().split()))
result_list = []
for a, b in zip(total_list, count_list):
result_list.append(a-b)
print(' '.join(map(str,result_list)))
'알고리즘 > 심화1' 카테고리의 다른 글
백준 1316 python (0) | 2023.06.16 |
---|---|
백준 4344 python (0) | 2023.06.16 |
백준 1157 python (0) | 2023.06.15 |
백준 10988 python (0) | 2023.06.15 |
백준 2444 python (0) | 2023.06.15 |