#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr ll infl = 1000000000000000007LL;
constexpr int inf = 1000000007;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; ++i) {
    cout << s << " ";
  }
  for (int i = 0; i < n - k; ++i) {
    cout << 1 << " ";
  }
  cout << endl;
  return 0;
}
