#import sys #import math #input = sys.stdin.readline a, b = map(int, input().split()) if a < b: print('K', flush=True) else: print('S', flush=True)