#include <bits/stdc++.h>
using namespace std;
constexpr long long int linf = numeric_limits<long long int>::max() - 5;
constexpr int inf = numeric_limits<int>::max() - 5;
constexpr long long int mod = 1000000007;
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  for (long long int i = 0; (i) < (k); i++) {
    cout << s << " ";
  }
  for (long long int i = 0; (i) < (n - k - 1); i++) {
    cout << s * 3ll << " ";
  }
  if (n != k) {
    cout << s * 3ll << endl;
  } else {
    cout << endl;
  }
  return 0;
}
