#include <bits/stdc++.h>
using namespace std;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  long long t, m, n, i, j, k, temp, sum = 0, flag = 0, count = 0, mi, x, y;
  cin >> n >> m >> k;
  if (k < 100000)
    for (i = 0; i < n; i++) {
      if (i < m)
        cout << k << " ";
      else
        cout << k + 1 << " ";
    }
  else if (k == 100000) {
    for (i = 0; i < n; i++) {
      if (i < m)
        cout << k;
      else
        cout << "1 ";
    }
  } else {
    temp = k / 100000;
    if (k % 100000 == 0) m--;
    for (i = 0; i < n; i++) {
      if (m == 0) {
        cout << "97 ";
      } else {
        if (temp > 0) {
          temp--;
          cout << "100000 ";
        } else {
          flag = 1;
          temp = k / 100000;
          if (k % 100000 == 0)
            cout << "100000 ";
          else
            cout << k % 100000 << " ";
        }
        if (flag == 1) {
          m--;
        }
      }
    }
  }
}
