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



int main()
{
	cout<<"3 3";
	cout<<"###";
	cout<<"#.#";
	cout<<"###";
	return 0; 
}