#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n, 0);
  for (int i = 0; i < n; ++i) cout << (i ? " " : "") << (i < k ? s : s + 1);
}
