#include <iostream>
using namespace std;
int main() {
setlocale(LC_ALL, "Rus");
float cost_gray, cost_blue;
cin >> cost_gray >> cost_blue;
if (cost_blue > cost_gray)
cout << "синяя";
else if (cost_gray > cost_blue)
cout << "серая";
else
cout << "равны";
return 0;
}