#include<bits/stdc++.h>
using namespace std;

int main()
{
	puts("END");
	puts("3 3");
	puts("###");
	puts("#.#");
	puts("###");
	return 0;
}