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