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