#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  long long n, m, sum;
  cin >> n >> m >> sum;
  for (int i = (0); i < (m); ++i) {
    cout << sum << " ";
  }
  for (int i = (0); i < (n - m); ++i) {
    if (sum != (int)10e9)
      cout << sum + 1 << " ";
    else {
      cout << sum - 1 << " ";
    }
  }
  cout << endl;
  return 0;
}
