$/=$";($a,$b,$c)=<>;print$a*$c<$b*$b^!!$a?I:R