fun main() { val (a, b) = readLine()!!.trim().split(' ').map(String::toLong) println(if (a < b) "K" else "S") }