#include <bits/stdc++.h>
using namespace std;
int n, k, s;
int main() {
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 1; i <= k; i++) cout << s << " ";
  for (int i = k + 1; i < n; i++) cout << 1 << " ";
  cout << 1 << endl;
  return 0;
}
