2025-10-11 16:37:36 +09:00

13 lines
239 B
Python

info: tuple[str, str] = []
while True :
name, age, weight = input().split()
if name == '#' :
break
info.append((name, 'Senior' if int(age) > 17 or int(weight) >= 80 else 'Junior'))
for s in info :
print(*s)