#![allow(non_snake_case)] use std::io::{ self, prelude::* }; macro_rules! pick { ($tokens:expr) => { $tokens.next().unwrap().parse().expect("parse error") } } fn main() { let mut s = String::new(); io::stdin().read_to_string(&mut s).expect("i/o error"); let mut tokens = s.split_whitespace(); let A: i64 = pick!(tokens); let B: i64 = pick!(tokens); let ans = if A >= B { "S" } else { "K" }; println!("{}", ans); }