Python/백준

백준 - 2083 럭비 클럽

sophia02 2022. 10. 4. 21:29
while True:
    s = list(input().split())
    if int(s[1]) > 17 or int(s[2]) >= 80:
        print(s[0], "Senior")
    elif s[0] == "#" and s[1] == '0' and s[2] == '0':
        break
    else:
        print(s[0], "Junior")