#include <bits/stdc++.h>
using namespace std;
using ll = long long;
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
void coY() { cout << "Yes" << endl; }
void coN() { cout << "No" << endl; }
const ll INF = 1LL << 60;
const int mod = 1e9 + 7;
int main() {
  ll n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s;
    if (i != n - 1) {
      cout << " ";
    } else {
      cout << endl;
      return 0;
    }
  }
  for (ll i = k; i < n; i++) {
    cout << (s * 2);
    if (i != n - 1) {
      cout << " ";
    } else {
      cout << endl;
      return 0;
    }
  }
}
