#include <bits/stdc++.h>
using namespace std;

using lli = long long;

int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= n; ++i) {
    if (i <= k) cout << s;
    else cout << (s == (int)1E9 ? 1 : s + 1);
    cout << " \n"[i == n];
  }
  
  return 0;
}