import std.stdio; void main() { int w,h; char c; readf("%d %d %c\n", &w, &h, &c); for(int y=0; y