#28122: CPP 有廢話


11030067@mail.hpsh.tp.edu.tw (和平110級鄧雨珊)


#include <iostream>
using namespace std;

int main(){
string a, b, t;
while (cin >> a >> b){
if (a.length()==1){
a="0"+a;
}
if (b.length()==1){
b="0"+b;
}
t=a+b;
if ((t>="0730") && (t<"1700")){
cout <<"At School"<<endl;
}
else {
cout <<"Off School"<<endl;
}
}
}