#include<bits/stdc++.h> using namespace std; main(){ int a,b; cin>>a>>b; if(b==00) b=0; if(a>=17 || a<7 || a==7 && b<30) cout<<"Off School"<<endl; else cout<<"At School"<<endl; }