#include using namespace std; using i32 = int; using i64 = long long; using i128 = __int128_t; using f64 = double; using p2 = pair; using el = tuple; void _main(); int main() { cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(18); _main(); } void _main() { i64 n, w, h; cin >> n >> w >> h; vector cnt(w, 0); string s; cin >> s; i64 j = 0; for (i64 i = 0; i < n; i++) { if (s[i] == 'l') { j++; } else { cnt[j]++; } } for (i64 i = h; i > 0; i--) { for (i64 j = 0; j < w; j++) { if (cnt[j] >= i) { cout << "o"; } else { cout << "x"; } } cout << "\n"; } }