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