#include<bits/stdc++.h>
using namespace std;
#define int long long
signed main(){
	ios::sync_with_stdio(false);
	cin.tie(0), cout.tie(0); 
	cout << "3 3" << '\n';
	cout << "###" << '\n';
	cout << "#.#" << '\n';
	cout << "###" << '\n';
	return 0;
}