#include <iostream> using namespace std; int main(){ string s; cin>>s; if(s=="FAIL"){ cout<<"LEFT"<<endl; }else{ cout<<"GO"<<endl; } return 0; }