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