#include <bits/stdc++.h>
const int INF = 1001001001;
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int s = S / 2;
  int n = -1;
  for (int i = 0; i < N; i++) {
    if (n < K) {
      cout << s << " ";
    } else {
      cout << S + 1 << " ";
    }
    s = S - s;
    n++;
  }
  cout << endl;
}
