#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  int n, k, s, maxn = 100000000;
  cin >> n >> k >> s;
  if (s == maxn) maxn -= 1;
  int first = 1;
  for (int i = 0; i < k; i++) {
    if (first == 1) {
      cout << s;
      first = 0;
    } else
      cout << ' ' << s;
  }
  for (int i = 0; i < n - k; i++) {
    if (first == 1) {
      cout << maxn;
      first = 0;
    } else
      cout << ' ' << maxn;
  }
}
