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