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