#include <bits/stdc++.h>
using namespace
std
;
int
main
() {
cout
<<
"END
\n
3 3
\n
###
\n
#.#n###"
;
}