#include <bits/stdc++.h>
using namespace std;
long long a, b, c;
signed main() {
  scanf("%d%d%d", &a, &b, &c);
  for (long long i = 1; i <= b; i++) printf("%d ", c);
  for (long long i = b + 1; i <= a; i++) printf("%d ", c + 1);
  return 0;
}
