#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 <= k; i++) cout << s << " ";
  if (s == 1000000000)
    for (; i <= n; i++)
      cout << "0"
           << " ";
  else
    for (; i <= n; i++) cout << s + 1 << " ";
  return 0;
}
