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