import sys input=lambda: sys.stdin.readline().rstrip() a,b=map(float,input().split()) if a>=b: print("S") else: print("K")