#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  long long m = 1000000000LL;
  if (k == 0) {
    if (s != m) {
      for (int i = 0; i < n; i++) {
        cout << m << " ";
      }
      cout << endl;
    } else {
      for (int i = 0; i < n; i++) {
        cout << 1 << " ";
      }
      cout << endl;
    }
    return 0;
  }
  if (k == n) {
    for (int i = 0; i < n; i++) {
      cout << s << " ";
    }
    cout << endl;
    return 0;
  }
  if (1 < s && s < m) {
    for (int i = 0; i < k + 1; i++) {
      if (i % 2 == 0) {
        cout << 1 << " ";
      } else {
        cout << s - 1 << " ";
      }
    }
    for (int i = k + 1; i < n; i++) {
      cout << s + 1 << " ";
    }
    cout << endl;
  } else {
    for (int i = 0; i < k; i++) {
      cout << s << " ";
    }
    for (int i = k; i < n; i++) {
      cout << m - s + 1;
    }
    cout << endl;
  }
}
