#include <bits/stdc++.h>
const int maxn = 1300;
const int inf = -0x3f3f3f;
using namespace std;
long long gcd(int a, int b) { return b == 0 ? a : gcd(b, a % b); }
long long lcm(int a, int b) { return gcd(a, b) / a * b; }
int main() {
  long long n, k, s;
  scanf("%lld%lld%lld", &n, &k, &s);
  for (int i = 1; i <= k; i++) cout << s << " ";
  if (s == 1e9)
    for (int i = 1; i <= n - k; i++) printf("5 ");
  else
    for (int i = 1; i <= n - k; i++) printf("%lld ", s + 1);
  return 0;
}
