#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <typename T>
inline bool chkmin(T &a, const T &b) {
  return a > b ? a = b, 1 : 0;
}
template <typename T>
inline bool chkmax(T &a, const T &b) {
  return a < b ? a = b, 1 : 0;
}
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = (int)(0); i < (int)(k); ++i) cout << s << " ";
  for (int i = (int)(0); i < (int)(n - k); ++i) cout << int(1e9 + 7) << " ";
  cout << "\n";
  return 0;
}
