#include <bits/stdc++.h>
using namespace std;
int n, k, s;
int ans[111111];
int main() {
  cin >> n >> k >> s;
  for (int i = 0; i < n; i++) ans[i] = s;
  for (int i = k; i < n; i++) ans[i] = s + 1;
  for (int i = 0; i < n; i++) {
    cout << ans[i];
    if (i == n - 1)
      cout << endl;
    else
      cout << " ";
  }
  return 0;
}
