c#include <bits/stdc++.h> using namespace std; int main() { cin.tie(NULL); cout.tie(NULL); ios_base::sync_with_stdio(false); while(true){ string name; int age, weight; cin >> name >> age >> weight; if(name == "#"){ break; } cout << name << " "; if(age > 17 || weight >= 80){ cout << "Senior" << "\n"; }else{ cout << "Junior" << "\n"; } } return 0; }