#include <bits/stdc++.h>
using namespace std;
int c[205];
int main() {
  int k, a, b;
  while (cin >> k >> a >> b) {
    string s;
    int i, j, m;
    cin >> s;
    int l = s.length();
    if (l < k * a || l > k * b) {
      cout << "No solution" << endl;
      continue;
    }
    int d = (l) / k;
    j = 0;
    for (i = 0; i < k; i++) {
      for (m = 0; j < l && m < d; m++, j++) {
        cout << s[j];
      }
      if (i + 1 == k) {
        for (; j < l; j++) cout << s[j];
      }
      cout << endl;
    }
  }
}
