#include <bits/stdc++.h>
using namespace std;
template <typename T>
void cins(vector<T>& arr) {
  for (T& e : arr) cin >> e;
}
int main(void) {
  int num, k, sum;
  cin >> num >> k >> sum;
  int others = 1;
  for (int i = 1; i < sum; i++) {
    if (sum % i) {
      others = i;
      break;
    }
  }
  vector<int> ans(num);
  for (int i = 0; i < k; i++) {
    ans[i] = sum;
  }
  for (int i = k; i < num; i++) {
    ans[i] = others;
  }
  for (auto e : ans) cout << e << " ";
  cout << endl;
  return 0;
}
