#include <bits/stdc++.h>
using namespace std;
void fl() {
  freopen(".in", "r", stdin);
  freopen(".out", "w", stdout);
}
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 1; i <= k; i++) printf("%d ", s);
  for (int i = k + 1; i <= n; i++) printf("%d ", s + 1);
  puts("");
  return 0;
}
