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