#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 < N; i++) {
    if (i < K) {
      cout << S << " ";
    } else {
      if (S < 10e9)
        cout << S + 1 << " ";
      else
        cout << 1 << " ";
    }
  }
  cout << endl;
}
