#include <bits/stdc++.h>
using namespace std;
using VI = vector<int>;
using VPI = vector<pair<int, int>>;
using LL = long long;
int main() {
  int n, k, s, a, b;
  cin >> n >> k >> s;
  a = s / 2;
  b = s / 2;
  if (s % 2 == 1) b++;
  for (int i = 0; i < n; i++) {
    if (i <= k) {
      if (i % 2 == 0)
        cout << a << " ";
      else
        cout << b << " ";
    } else {
      cout << s + 10 << " ";
    }
  }
}
