#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  if (b == 0) return a;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) {
  long long g = gcd(a, b);
  return a / g * b;
}
long long factorial(long long n) {
  long long t = 1;
  for (long long(i) = 1; (i) <= (n); ++(i)) t *= i;
  return t;
}
long long combinations(long long n, long long k) {
  long long r = 1;
  for (long long(i) = 1; (i) <= (k); ++(i)) r = r * n-- / i;
  return r;
}
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long(i) = 0; (i) < (n - 1); ++(i)) {
    if (i < k) {
      cout << s << " ";
    } else {
      cout << s + 1 << " ";
    }
  }
  if (s == n) {
    cout << s;
  } else {
    cout << s + 1;
  }
  return 0;
}
