program main
   implicit none
   character(1) X, Y
   read(*, *) X, Y
   if(X == Y) then
       write(*, *) '='
   else if(LGT(X, Y) .eqv. .TRUE.) then
       write(*, *) '>'
   else
       write(*, *) '<'
   end if
end program main