#include <bits/stdc++.h>
using namespace std;
int my_abs_A(int num) {
  if (num > 0)
    return num;
  else
    return -num;
}
int my_abs_B(long long num, long long numb) {
  if (num - numb >= 0)
    return num - numb;
  else
    return -1 * (num - numb);
}
long long gcd(long long a, long long b) {
  if (b == 0)
    return a;
  else
    return gcd(b, a % b);
}
long long lcm(long long a, long long b) { return a * b / gcd(a, b); }
int main() {
  long long A, B, C;
  cin >> A >> B >> C;
  vector<long long> ans(A);
  for (long long i = 0; i < B; i++) {
    ans.at(i) = C;
  }
  C = C + 1;
  for (long long j = B; j < A; j++) {
    ans.at(j) = C;
  }
  for (long long k = 0; k < A; k++) {
    cout << ans.at(k) << " ";
  }
  cout << endl;
}
