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