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