#include using namespace std; using ll = long long; using a2 = array; using a3 = array; bool chmin(auto& a, const auto& b) { return a > b ? a = b, 1 : 0; } bool chmax(auto& a, const auto& b) { return a < b ? a = b, 1 : 0; } ll mod = 998244353; const ll INF = 1e18; ifstream in; ofstream out; int main(int argc, char** argv) { ios::sync_with_stdio(false); cin.tie(0); if(argc > 2) { in.open(argv[1]); cin.rdbuf(in.rdbuf()); out.open(argv[2]); cout.rdbuf(out.rdbuf()); } ll n, w, h; cin >> n >> w >> h; string s; cin >> s; vector idx(1, -1); for(int i = 0; i < n; i++) { if(s[i] == 'l') { idx.push_back(i); } } idx.push_back(n); for(int i = 0; i < h; i++) { for(int j = 0; j < w; j++) { if(h - i < idx[j + 1] - idx[j]) { cout << 'o'; } else { cout << 'x'; } } cout << endl; } return 0; }