#include <bits/stdc++.h>
using namespace std;
using cd = complex<double>;
const int Inf = 1000000000;
const int mod = 1000000007;
const double Pi = acos(-1);
void Fastio() {
  ios_base::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
}
int n, k, s;
void Solve() {
  cin >> n >> k >> s;
  if (s == 1000000000) {
    for (int i = 1; i <= k; i++) {
      cout << s << " ";
    }
    for (int i = k + 1; i <= n; i++) {
      cout << 1 << " ";
    }
    return;
  }
  for (int i = 1; i <= k; i++) {
    cout << s << " ";
  }
  for (int i = k + 1; i <= n; i++) {
    cout << s + 1 << " ";
  }
}
int main() {
  Fastio();
  Solve();
}
