#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) {
    if (i != n - 1) {
      cout << s << " ";
    } else {
      cout << s << endl;
      return 0;
    }
  }
  if (n - k > 0) {
    for (int i = 0; i + k < n; i++) {
      cout << s + 1;
      if (i + k != n - 1) {
        cout << " ";
      }
    }
  }
  cout << endl;
}
