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