#include <bits/stdc++.h>
using namespace std;
using int64 = long long;
int64 max(int64 a, int64 b) {
  if (b > a)
    return b;
  else
    return a;
}
int64 min(int64 a, int64 b) {
  if (b < a)
    return b;
  else
    return a;
}
signed main() {
  int64 n, k, s;
  cin >> n >> k >> s;
  for (int64 i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (int64 i = k; i < n; i++) {
    cout << s - 1 << " ";
  }
  cout << endl;
  return 0;
}
