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