#include <bits/stdc++.h>
using namespace std;
const long long LINF = 1e18;
const int INF = 1e9;
using gragh = vector<vector<int>>;
int main() {
  int n;
  int k;
  long long s;
  cin >> n >> k >> s;
  vector<long long> ans(n);
  for (int i = 0; i < k; ++i) {
    ans[i] = s;
  }
  for (int j = k; j < n; ++j) {
    ans[j] = s + 1;
  }
  cout << ans[0];
  for (int l = 1; l < n; ++l) {
    cout << " " << ans[l];
  }
  cout << endl;
}
