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