#include using namespace std; typedef long long ll; typedef vector vi; typedef vector vl; typedef complex P; typedef pair pii; #define REP(i,n) for(ll i=0;i>c1>>c2>>c3>>c4; // X = z1+z2 // Y = z1z2 double X = (c1*c4-c2*c3) / (c1*c3-c2*c2); double Y = (c2*c4-c3*c3) / (c1*c3-c2*c2); // if imag: X = 2*a, Y = a^2 + b^2 double a = X/2.0; if(Y - a*a > 0){ cout << "I" << endl; }else{ cout << "R" << endl; } return 0; }