#include <bits/stdc++.h>
using namespace std;
long long gcd(long long x, long long y) {
  if (x == 0) {
    return y;
  } else {
    return gcd(y % x, x);
  }
}
long long lcm(long long x, long long y) { return x / gcd(x, y) * y; }
long long C(long long n, long long k) {
  if (n == k) {
    return 1;
  } else if (n < k) {
    return 0;
  } else if (k == 0) {
    return 1;
  } else if (k == 1) {
    return n;
  } else
    return C(n - 1, k - 1) + C(n - 1, k);
}
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  vector<long long> a(n, 1);
  for (long long i = 0; i < k; i++) {
    a[i] = s;
  }
  for (long long i = 0; i < n; i++) {
    cout << a[i] << " ";
  }
  cout << endl;
  return 0;
}
