#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int E9 = 1000000000;
int main() {
  int ans = 0;
  int n, k, s, p;
  int l, r = 0;
  cin >> n >> k >> s;
  p = E9;
  if (s == E9) p = 0;
  for (int i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (int i = k; i < n; i++) {
    cout << p << " ";
  }
}
