#include <bits/stdc++.h>
using namespace std;
constexpr long long mod = 1000000007;
constexpr long long INF = (1ll << 60);
constexpr double pi = 3.14159265358979323846;
template <typename T>
inline bool chmax(T &a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <typename T>
inline bool chmin(T &a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> ans(n, 1);
  if (s == 1) {
    for (long long i = 0; i < n; ++i) ans[i] = 2;
  }
  for (long long i = 0; i < k; ++i) ans[i] = s;
  for (long long i = 0; i < n; ++i) {
    cout << ans[i];
    if (i == n - 1)
      cout << "\n";
    else
      cout << " ";
  }
  return 0;
}
