#include <stdio.h>

int main() {
    int a, b;
    while (scanf("%d", &a) != EOF) { // 注意 while 处理多个 case
        // 64 位输出请用 printf("%lld") to 
        if(a>=140)
        printf("Genius");
        else
         return 0;
    }
    return 0;
}