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