import sequtils, strutils var a, b: int (a, b) = stdin.readLine.split.map parseInt if(a < b): echo "K" else: echo "S"