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