#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 = 1; i < n; i++) {
    if (i <= k + 1) {
      if (i % 2 == 0)
        cout << s / 2 << " ";
      else
        cout << s / 2 + s % 2 << " ";
    } else
      cout << "1000000000"
           << " ";
  }
  if (n == k + 1)
    cout << s / 2 + s % 2 << endl;
  else
    cout << "1000000000" << endl;
  return 0;
}
