ss = input().split() a = int(ss[0]) b = int(ss[1]) if a < b: print("K") else: print("S")