Beakjoon&프로그래머스/파이썬
[백준/파이썬] 1673번 럭비 클럽
현장
2022. 5. 27. 22:24
-Code
while 1:
name, age, weight = input().split()
age, weight = int(age), int(weight)
if name == '#' and age == weight == 0:
break
res = "Junior"
if age > 17 or weight >= 80:
res = "Senior"
print(f"{name} {res}")