#include <bits/stdc++.h>
using namespace std;
int main() {
  long long t, n, m, i, j, k, x = 0, y = 0, z;
  cin >> n >> m >> k;
  if (n == m) {
    for (i = 0; i < n; i++) {
      cout << k << " ";
    }
    cout << endl;
    return 0;
  }
  for (i = 0; i < m; i++) {
    cout << k << " ";
  }
  for (i = m; i < n; i++) {
    cout << k - 1 << " ";
  }
  cout << endl;
}
