#include <bits/stdc++.h>
using namespace std;
int date[1000000];
signed main() {
  long long a, b, c;
  cin >> a >> b >> c;
  for (long long i = 0; i < a; i++) {
    if (b != 0) {
      date[i] = c;
      b--;
    } else if (c != 1)
      date[i] = c - 1;
    else if (c == 1)
      date[i] = c;
  }
  for (long long i = 0; i < a; i++) {
    cout << date[i];
    if (i != a - 1) cout << " ";
  }
  cout << "\n";
}
