#include <bits/stdc++.h>
using namespace std;
const int maxn = 1e5 + 7;
const int inf = 1e9;
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 0; i < k; i++) printf("%d%c", s, i == n - 1 ? '\n' : ' ');
  if (s != inf)
    s = inf;
  else
    s = 1;
  for (int i = n - k; i < n; i++) printf("%d ", s, i == n - 1 ? '\n' : ' ');
}
