A, B = map(int, input().split())
print("S" if A >= B else "K")