#include <bits/stdc++.h>
const double PI = 3.1415926;
const int KL = 1e6;
using namespace std;
long long n, k, s, x;
int main() {
  scanf("%lld", &n);
  scanf("%lld", &k);
  scanf("%lld", &s);
  if (k == n) {
    for (int i = 0; i < n; i++) cout << s << " ";
  } else {
    for (int i = 0; i <= k; i++) {
      if (i % 2 == 0)
        cout << (s + 1) / 2 << " ";
      else
        cout << s / 2 << " ";
    }
    if (s != 1e9 - 1)
      x = 1e9 - 1;
    else
      x = 1e9;
    for (int i = k + 1; i < n; i++) {
      cout << x << " ";
    }
  }
  return 0;
}
