#include <bits/stdc++.h>
using namespace std;
vector<long long> to[1000005];
int main() {
  long long a, b = 0, c, d;
  cin >> a >> b >> c;
  for (long long i = 0; i < (long long)(b); ++i) cout << c << " ";
  if (c != 1e9)
    for (long long i = 0; i < (long long)(a - b); ++i) cout << c + 1 << " ";
  else
    cout << 1 << " ";
}
