#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int MAX = 510000;
int main() {
  int n, k;
  cin >> n >> k;
  long long s;
  cin >> s;
  for (unsigned long long i = 0; i < (k); i++) {
    cout << s << " ";
  }
  for (unsigned long long i = 0; i < (n - k); i++) {
    cout << s - 1 << " ";
  }
  cout << endl;
}
