A,B = [int(i) for i in input().split()] if A < B: print("K") else: print("S")