#include using namespace std; typedef int64_t lint; int main() { lint w,h; char c; cin>>w>>h>>c; for(lint i=0;i