a, b = [int(v) for v in input().split()] print("K" if a < b else "S")