#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const int MOD = 1e9 + 7;
const long long LINF = 1e18;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (k); ++i) {
    cout << s;
    if (i != n - 1) cout << " ";
  }
  for (int i = 0; i < (n - k); ++i) {
    cout << 10000000000;
    if (i != (n - k - 1)) cout << " ";
  }
  cout << endl;
  return 0;
}
