#include<bits/stdc++.h>
using namespace std;
long long fx,cm,k,x,y,n=3,m=3;
int all_explored(){
	return 1;
}
int main(){
	while (true) {
		string fb;
		if(k==1){
			cm="LEFT";
		}else 
			cm = "GO"; 
		cout << cm << endl; 
		cin >> fb; 
		if(all_explored()==1) { 
			cout << "END" << endl;
			cout << n << " " << m << endl;
			for (int i = 0; i < n; i++) {
				for (int j = 0; j < m; j++) {
					if()
					else 
						cout <<"#";
				}
				cout << endl;
			}
			break; 
		} 
		else {
			
		}
	}
}