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