#include <iostream>

using namespace std;

int main() {
    int x = 0;
    cin >> x;
    if (x > 5) {
        int z = x * x;
        cout << "Greater\n";
    } else if (x == 5) {
        cout << "Equal\n";
    } else {
        cout << "Lesser\n";
    }

    // (x > 5 && y != 6)
    // and ->  &&
    // or ->   ||
    // not x ->   !x
    int z = 6;
    int g = 7;
    x = z + g;
    return 0;
}
