#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
const int maxn = 201110;
const int M = 1e9 + 7;
long long n, m, s;
int main() {
  cin >> n >> m >> s;
  int i;
  for (i = 1; i <= m; i++) {
    printf("%lld ", s);
  }
  for (; i <= n; i++) {
    printf("%lld ", s + 1);
  }
  puts("");
  return 0;
}
