#include <bits/stdc++.h>
using namespace std;
int main() {
  long long int n, k, s, x = 1000000001;
  cin >> n >> k >> s;
  for (int i = 0; i < n - k; ++i) cout << x << ' ';
  for (int i = 0; i < k; ++i) cout << s << ' ';
  cout << endl;
}
