program main implicit none integer*8::A,B read *,A,B if(A.ge.B) then print '(a)',"S" else print '(a)',"K" end if end program main