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