#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; ++i) {
    printf("%d ", s);
  }
  for (int i = 1; i <= (n - k); ++i) {
    printf("%d ", s + 1);
  }
}
