a,b=map(int,input().split()) c=1 w='K' while a > b*c: c += 2 w = 'K' if w == 'S' else 'S' print(w)