Time limit
1s
Memory limit
128 MB
Members of a rugby club are classified as either senior or junior.
A member is senior if their age is greater than 17 or their weight is at least 80 kg. Otherwise, the member is junior. Classify each member correctly.
Each line contains a member's name, age, and weight, separated by spaces. The final line is # 0 0; do not process this line.
A name contains only uppercase and lowercase English letters, and its length is at most 10.
For each member in the input, print the member's name and classification on one line. Print Senior for a senior member and Junior for a junior member.