#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int s, n, lp = 1, m1, n1, n2, nl, m, i, j, k, sum;
  cin >> n >> k >> s;
  for (i = 1; i <= n - k; i++)
    cout << "0"
         << " ";
  for (; i <= n; i++) cout << s << " ";
  return 0;
}
