#include <bits/stdc++.h> using namespace std; int main(){ ios::sync_with_stdio(0); cin.tie(0); bool all_explored=0; int n,m,map[m][n]; while (true) { string feedback; string command = "GO"; cout << command << endl; cin >> feedback; if (all_explored) { cout << "END" << endl; cout << n << " " << m << endl; for (int i = 0; i < n; i++) { for (int j = 0; j < m; j++) { cout << map[i][j]; }cout << endl; } break; } else { } } return 0; }