#include <bits/stdc++.h>
using namespace std;
template <typename A, typename B>
ostream& operator<<(ostream& os, const pair<A, B>& x) {
  return os << "(" << x.first << "," << x.second << ")";
}
int main() {
  int n, k, s;
  scanf("%d%d%d", &n, &k, &s);
  for (int i = 0; i < n; ++i) {
    printf("%d ", i < k ? s : s + 1);
  }
}
