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