a = input() a = int(a[:-3]+a[-2:]) #把"17 00"中的空格拿掉變成數字print(["Off School","At School"][730 <= a and a <= 1700]) #比較大小