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