#include <bits/stdc++.h>
using namespace std;
const double eps = 1e-10;
const long long int LINF = 1001002003004005006ll;
const int INF = 1001001001;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (k); ++i) cout << s << " ";
  int num;
  if (s < 500000)
    num = 500001;
  else
    num = 1;
  for (int i = 0; i < (n - k); ++i) cout << num + i << " ";
  cout << endl;
  return 0;
}
