#include <bits/stdc++.h>
using namespace std;
int mod = 1e9 + 7;
const int N = 1e5 + 5;
int inf = 1e9;
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  printf("%d", s);
  for (int i = 1; i < k; i++) printf(" %d", s);
  if (s == inf) {
    for (int i = k; i < n; i++) printf(" %d", s - 1);
  } else {
    for (int i = k; i < n; i++) printf(" %d", inf);
  }
  return 0;
}
