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