#include <bits/stdc++.h>
using namespace std;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
const long long mod = 1000000007;
const long long LINF = 1LL << 60;
const int INF = 1 << 30;
int dx[] = {1, 0, 1, -1, 1, -1, -1, 0};
int dy[] = {0, 1, 1, -1, -1, 1, 0, -1};
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n, 1);
  for (int i = 0; i < k; i++) {
    ans[i] = s;
  }
  for (int i = 0; i < n; i++) {
    cout << ans[i] << (i == n - 1 ? "\n" : " ");
  }
  return 0;
}
