#include <bits/stdc++.h>
using namespace std;
signed main() {
	cout << "END\n";
	cout << "3 3\n###\n#.#\n###\n";
	return 0;
}