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