#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
template <typename T>
void chmin(T &a, T b) {
  a = min(a, b);
}
template <typename T>
void chmax(T &a, T b) {
  a = max(a, b);
}
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; i++) {
    if (i > 0) cout << " ";
    if (i < k)
      cout << s;
    else {
      if (k == 1000000000)
        cout << s - 1;
      else
        cout << s + 1;
    }
  }
  cout << endl;
}
