#include <bits/stdc++.h>
using namespace std;
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;
}
const int INF = 1001001001;
const long long INFL = (1LL << 60);
const double eps = (1e-9);
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (k); ++i) {
    cout << s << " ";
  }
  int pad = 1;
  if (s == 1) pad = 2;
  for (int i = 0; i < (n - k); ++i) {
    cout << pad << " ";
  }
  cout << endl;
  return 0;
}
