#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int INF = (1 << 30) - 1;
const long long LINF = (1LL << 62) - 1;
const int dx[] = {-1, 0, 1, 0};
const int dy[] = {0, 1, 0, -1};
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n);
  for (int i = 0; i < (n); i++) {
    if (s == 1)
      ans[i] = 2;
    else
      ans[i] = 1;
  }
  for (int i = 0; i < (k); i++) ans[i] = s;
  for (int i = 0; i < (n); i++) {
    if (i) cout << ' ';
    cout << ans[i];
  }
  cout << endl;
  return 0;
}
