desk, coin = gets.split.map(&:to_i) puts desk < coin ? "K" : "S"