#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;
}
using ll = long long;
const vector<int> dx = {1, 0, -1, 0};
const vector<int> dy = {0, 1, 0, -1};
const ll inf = 1001001001;
const ll e9 = 1000000000;
const ll mod = 1000000007;
int main() {
  int n, k;
  ll s;
  cin >> n >> k >> s;
  if (s == 1000000000) {
    for (int i = 0; i < k; ++i) cout << 1000000000 << " ";
    for (int i = k + 1; i < n; ++i) cout << 1 << " ";
    cout << endl;
  } else {
    for (int i = 0; i < k; ++i) cout << s << " ";
    for (int i = k + 1; i < n; ++i) cout << s + 1 << " ";
    cout << endl;
  }
}
