#include #include using namespace std; char res[51][51]; int main() { int w, h; char c; while (~scanf("%d%d %c", &w, &h, &c)) { for(int i=0;i