#include <bits/stdc++.h>
using namespace std;
using VP = vector<pair<long long, long long> >;
using VVP = vector<VP>;
using VI = vector<long long>;
using VVI = vector<VI>;
using VVVI = vector<VVI>;
const int inf = 1e9 + 7;
const long long INF = 1LL << 61;
const long long mod = 1e9 + 7;
int main() {
  int i, j;
  long long n, k, s;
  cin >> n >> k >> s;
  for (i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (i = k; i < n; i++) {
    cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
