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