#33562: 基礎解法


yp11151119@yphs.tp.edu.tw (911-36張鈞晏)


#include<bits/stdc++.h>
using namespace std;
int main(){
    int h,m,t;
    cin>>h>>m;
    t=h*60+m;
    (t>=450 and t<1020) ? cout<<"At School" : cout<<"Off School";
    return 0;
}