#include <iostream> using namespace std; int main() { int hh, mm; cin >> hh >> mm; int total = hh * 60 + mm; if (total >= 450 && total < 1020) { cout << "At School" << endl; } else { cout << "Off School" << endl; } return 0; }