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