-Code
point = [13, 7, 5, 3, 3, 2]
cho = list(map(int, input().split()))
han = list(map(int, input().split()))
cho_res, han_res = 0, 1.5
for i in range(6):
cho_res += point[i] * cho[i]
han_res += point[i] * han[i]
print("cocjr0208" if cho_res > han_res else "ekwoo")
'Beakjoon&프로그래머스 > 파이썬' 카테고리의 다른 글
[백준/파이썬] 1440번 타임머신 (1) | 2024.11.20 |
---|---|
[백준/파이썬] 28932번 Префиксы-суффиксы (0) | 2024.11.19 |
[백준/파이썬] 19786번 Ставка (0) | 2024.11.17 |
[백준/파이썬] 28637번 Смена стиля (0) | 2024.11.16 |
[백준/파이썬] 32652번 아카라카 2 (1) | 2024.11.15 |