#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  if (k < n) {
    int num = 1;
    for (int i = 1; i <= k + 1; i++) {
      cout << num << " ";
      num = s - num;
    }
    for (int i = k + 2; i <= n; i++) {
      if (s == 1000000000) {
        cout << 2 << " ";
      } else {
        cout << 1000000000 << " ";
      }
    }
  } else {
    for (int i = 1; i <= n; i++) {
      cout << s << " ";
    }
  }
  cout << endl;
  return 0;
}
