#include <bits/stdc++.h>
using namespace std;
string ming,last;
int n,m,more=52;
char a[105][105];
bool b[105][105];
int dx[5]={1,-1,0,0};
int dy[5]={0,0,1,-1};
int fa[5]={1,0,3,2};
bool g[5];
bool all_explored()
{
	for(int i=1+more; i<=n+more; i++)
	{
		if(a[i][1]=='.'||a[i][m]=='.') return 0;
	}
	for(int i=1+more; i<=m+more; i++)
	{
		if(a[1][i]=='.'||a[n][i]=='.') return 0;
	}
	return 1;
}
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0);cout.tie(0);
	int x,y,f;
	while(1)
	{
		cout<<"END"<<endl;
		cout<<3<<" "<<3<<endl;
		cout<<"###"<<'\n';
		cout<<"#.#"<<'\n';
		cout<<"###"<<'\n';
		break;
	}
	return 0;
}