#include using namespace std; #define rep(i, n) for (int i = 0; i < (int)(n); i++) int main(){ int N, W, H, a = 0; cin >> N >> W >> H; vector v(W); string S; cin >> S; for(char x: S){ if(x == 'o')v[a]++; else a++; } for(int i = H-1; i >= 0; i--){ rep(j, W){ if(v[j]>i)cout << 'o'; else cout << 'x'; } cout << endl; } }