#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[]) {
  int n, k;
  long long s;
  scanf("%d%d%lld", &n, &k, &s);
  if (k == n) {
    for (int i = 0; i < k; i++) cout << s << " ";
    cout << endl;
  } else {
    int a, b;
    if (s % 2 == 0) {
      a = s / 2;
      b = s / 2;
    } else {
      a = s / 2 + 1;
      b = s / 2;
    }
    for (int i = 1; i <= k + 1; i++) {
      if (i & 1)
        cout << a << " ";
      else
        cout << b << " ";
    }
    if (s < 1e9)
      for (int i = k + 2; i <= n; i++) cout << s + 1 << " ";
    else
      for (int i = k = 2; i <= n; i++) cout << s - 1 << " ";
    cout << endl;
  }
  return 0;
}
