#include <bits/stdc++.h>
using namespace std;
int main(void) {
  long long n, k, s;
  cin >> n >> k >> s;
  if (k == 0) {
    for (long long i = 0; i < n; i++) {
      cout << 0;
      if (i != n - 1) cout << " ";
    }
  } else {
    cout << s << " ";
    for (long long i = 1; i < n; i++) {
      if (i < k)
        cout << 0;
      else if (s != 1)
        cout << s - 1;
      else
        cout << s + 1;
      if (i != n - 1) cout << " ";
    }
  }
  cout << endl;
}
