a,b=map(int,input().split()) if a < b: print('K') elif int(a / b) % 2 == 0: print('S') else: print('K')