#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s;
  long long x = pow(10, 9);
  cin >> n >> k >> s;
  for (long long i = 0; i < k - 1; i++) cout << s << " ";
  if (n == k)
    cout << s << endl;
  else
    cout << s << " ";
  if (s == x) {
    for (long long i = 0; i < n - k - 1; i++) cout << 1 << " ";
    if (n != k) cout << 1 << endl;
  } else {
    for (long long i = 0; i < n - k - 1; i++) cout << x << " ";
    if (n != k) cout << x << endl;
  }
}
