a,b = map(int,input().split()) if b>a: print("K") else: print("S")