#include #include #include using namespace std; using namespace atcoder; using mint = modint998244353; #define rep(i,n) for (int i = 0; i < (n); ++i) #define Inf32 1000000001 #define Inf64 4000000000000000001LL int main(){ int n,w,h; cin>>n>>w>>h; vector ans(1,0); string s; cin>>s; rep(i,n){ if(s[i]=='o')ans.back()++; else ans.push_back(0); } vector ss(h,string(w,'x')); rep(i,ans.size()){ rep(j,ans[i])ss[h-1-j][i] = 'o'; } rep(i,h)cout<