#include using namespace std; int main(){ long long A,B,C,sum=0; char c1,c2; while(~scanf("%lld%c%lld%c%lld",&A,&c1,&B,&c2,&C)){ if(c1=='+'){ if(A+B==C) sum++; } else if(c1=='-'){ if(A-B==C) sum++; } } cout<<"RIGHT:"<