#include <bits/stdc++.h>
using namespace std;
const int INF = 1 << 30;
const int p = 1e9;
int lowbit(int x) { return x & (-x); }
int fast_power(int a, int b) {
  int x;
  for (x = 1; b; b >>= 1) {
    if (b & 1) x = 1ll * x * a % p;
    a = 1ll * a * a % p;
  }
  return x % p;
}
int ans[100005];
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  ans[1] = s;
  for (int i = k + 1; i <= n; i++) ans[i] = s % p + 1;
  for (int i = 1; i <= n; i++) printf("%d ", ans[i]);
  puts("");
  return 0;
}
