a,b=map(int,input().split()) if a < b: print('K') elif a < b*3: print('S') else: print('K')