#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n);
  if (s = 1000000000) {
    for (int i = 0; i < n; i++) {
      if (i < k)
        a[i] = s;
      else
        a[i] = 1;
    }
  }
  if (s < 1000000000) {
    for (int i = 0; i < n; i++) {
      if (i < k)
        a[i] = s;
      else
        a[i] = s + 1;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << a[i] << endl;
  }
}
