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