#include <bits/stdc++.h>
using namespace std;
const long long INF = 1000000000000000001;
struct edge {
  int to, cost;
};
int dy[] = {0, 0, 1, -1};
int dx[] = {1, -1, 0, 0};
struct Road {
  double cost;
  int a, b;
};
struct pos {
  int x, y, sx, sy, cost;
};
int main() {
  int n, k;
  long long s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; ++i) {
    if (i % 2 == 0)
      cout << s / 2 << " ";
    else
      cout << s / 2 + s % 2 << " ";
  }
  if (k % 2 == 0)
    cout << s / 2;
  else
    cout << s / 2 + s % 2;
  for (int j = 0; j < n - k - 1; ++j) {
    cout << " "
         << "1000000000";
  }
  cout << endl;
  return 0;
}
