#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  ll a, b, c;
  cin >> a >> b >> c;
  for (int i = 0; i < b; i++) {
    cout << c << " ";
  }
  for (int j = b; j < a; j++) {
    if (j = a - 1) {
      cout << c + 1 << endl;
    } else {
      cout << c + 1 << " ";
    }
  }
}
