fff
hour, minute = map(int, input().split())if hour < 7 or hour == 7 and minute < 30 or hour >= 17: print("Off School")else: print("At School")