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