#include <bits/stdc++.h>
using namespace std;
const int M = 1e5 + 10;
long long a[M];
int main(int argc, char const *argv[]) {
  int n, k;
  long long s;
  scanf("%d%d%lld", &n, &k, &s);
  for (int i = 0; i < k; i++) cout << s << " ";
  for (int i = k; i < n; i++) cout << s + 1 << " ";
  cout << endl;
  return 0;
}
