#include <bits/stdc++.h>
const int INF = 1001001001;
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) cout << S << " ";
  int n = (S < 10e9) ? S + 1 : 1;
  for (int i = 0; i < N - K; i++) cout << n << " ";
  cout << endl;
}
