a = int(input()) if a>0: print("BIG") elif a==0: print("z-e-r-o") else: print("small")