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