#include<bits/stdc++.h>
#define endl '\n'
using namespace std;
char mp[301][301];
int main()
{
	ios::sync_with_stdio(0);
	cin.tie(0),cout.tie(0);
	string f,c,lc="",lf="";
	memset(mp,'-',sizeof(mp));
	mp[150][150]='.';
	int x=150,y=150;
	int mx=-1e9,my=-1e9,ix=1e9,iy=1e9;
	cout<<"3 3\n";
	cout<<"###\n";
	cout<<"#.#\n";
	cout<<"###\n";
	return 0;
}