#include #include int main(void) { double a,b; scanf("%lf%lf",&a,&b); puts((long)(pow(a,2)*acos(-1)/pow(b*2,2))%2?"S":"K"); return 0; }