#include <bits/stdc++.h>
using namespace std;
void output(vector<int> vec, int len) {
  for (int i = 0; i < len; i++) {
    cout << vec[i] << " ";
  }
  cout << endl;
}
int main() {
  int n;
  int k;
  int s;
  cin >> n >> k >> s;
  vector<int> ans(n);
  for (int i = 0; i < n; i++) {
    ans[i] = 1;
  }
  if (k == 0) {
    if (n < s) {
      output(ans, n);
      return 0;
    } else if (n == s) {
      ans[0] = 2;
      output(ans, n);
      return 0;
    } else {
      for (int i = 0; i < n; i = i + s) {
        ans[i] = 1000000001;
      }
      output(ans, n);
      return 0;
    }
  } else if (k == n) {
    for (int i = 0; i < n; i++) {
      ans[i] = s;
    }
    output(ans, n);
    return 0;
  } else {
    if (n < s) {
      for (int i = 0; i < k; i++) {
        ans[i] = s;
      }
      output(ans, n);
      return 0;
    } else if (n == s) {
      for (int i = 0; i < k; i++) {
        ans[i] = s;
      }
      output(ans, n);
      return 0;
    } else {
      for (int i = 0; i < k; i++) {
        ans[i] = s;
      }
      output(ans, n);
      return 0;
    }
  }
  for (int i = 0; i < n; i++) {
    cout << ans[i] << " ";
  }
  cout << endl;
}
