#include <bits/stdc++.h>
using namespace std;
int main() {
  cout << fixed << setprecision(10);
  long long int N, K, S;
  cin >> N >> K >> S;
  for (int i = N - 1; 0 <= i; i--) {
    if (i < K) {
      cout << S;
    } else {
      cout << S + 1;
    }
    cout << " ";
  }
  return 0;
}
