13 lines
239 B
Python
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)
|