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