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