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