fun main() { val (a, b) = readLine()!!.split(" ").map { it.toInt() } println(if (a < b) "K" else "S") }