#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  if (a % b == 0) return b;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return a * b / gcd(a, b); }
long long log(long long a) {
  long long b = a;
  long long cnt = 0;
  while (b % 2 == 0) {
    b /= 2;
    cnt++;
  }
  return cnt;
}
long long mypow(long long a, long long b) {
  if (b == 0) return 1;
  if (b == 1) return a;
  long long t = mypow(a, b / 2);
  if (b % 2 == 0) return t * t;
  return t * t * a;
}
long long n, k, s;
signed main() {
  cin >> n >> k >> s;
  for (long long i = 0; i < k; i++) cout << s << " ";
  for (long long i = 0; i < n - k; i++) cout << s + 500 << " ";
  cout << endl;
  return 0;
}
