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