#include <bits/stdc++.h>
using namespace std;
const int MAX_NUM = 1000000000;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) {
    if (i != 0) cout << ' ';
    cout << S;
  }
  for (int i = 0; i < N - K; i++) {
    if (K != 0 || i != 0) cout << ' ';
    cout << MAX_NUM;
  }
  cout << endl;
}
