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