#include<bits/stdc++.h>
using namespace std;
int main(){
int a,b;
char ch;
cin >> a >> ch >> b;
if(ch == '<' && a < b || (ch == '=' && a == b) || (ch == '>' && a > b)) cout << "Right";
else cout << "Wrong";
return 0;
}
I2luY2x1ZGU8Yml0cy9zdGRjKysuaD4KdXNpbmcgbmFtZXNwYWNlIHN0ZDsKCmludCBtYWluKCl7CglpbnQgYSxiOwkKCWNoYXIgY2g7CgljaW4gPj4gYSA+PiBjaCA+PiBiOwoJaWYoY2ggPT0gJzwnICYmIGEgPCBiIHx8IChjaCA9PSAnPScgJiYgYSA9PSBiKSB8fCAoY2ggPT0gJz4nICYmIGEgPiBiKSkJY291dCA8PCAiUmlnaHQiOwoJZWxzZSBjb3V0IDw8ICJXcm9uZyI7CglyZXR1cm4gMDsKfQ==