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