#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 if (S == 1) {
    for (int i = 0; i < N; i++) {
      if (i < K + 1)
        cout << S << " ";
      else
        cout << 2 << " ";
    }
    cout << endl;
  } else {
    for (int i = 0; i < N; i++) {
      if (i < K + 1) {
        if (i % 2 == 0)
          cout << S - 1 << " ";
        else
          cout << 1 << " ";
      } else {
        if ((S / 2) + 5 == S - 1)
          cout << (S / 2) + 7 << " ";
        else if ((S / 2) + 5 == S)
          cout << (S / 2) + 6 << " ";
        else
          cout << (S / 2) + 5 << " ";
      }
    }
    cout << endl;
  }
}
