c++ 12.0
using namespace std;
int main()
{
int a;
char b;
int c,d;
cin>>a>>b>>c>>d;
int e,f,g,h,i;
e = a+c;
f = a-c;
g = a*c;
h = a/c;
i = a%c;
if(b=='+' && d==e)
{
cout <<"right";
}
else if(b=='+' && d!=e)
{
cout <<e;
}
else if(b=='-' && d==f)
{
cout <<"right";
}
else if(b=='-' && d!=f)
{
cout <<f;
}
else if(b=='*' && d==g)
{
cout <<"right";
}
else if(b=='*' && d!=g)
{
cout <<g;
}
else if(b=='/' && d==h)
{
cout <<"right";
}
else if(b=='/' && d!=h)
{
cout <<h;
}
else if(b=='%' && d!=i)
{
cout <<i;
}
else
{
cout <<"right";
}
return 0;
}