#include <bits/stdc++.h>
using namespace std;
const int S = 1e9;
const long long MAXN = 1e6 + 7;
int n, k, s, f[MAXN];
int main() {
  cin >> n >> k >> s;
  if (k == 0) {
    s = s == S ? 1 : S;
    for (int i = 0; i < n; ++i) cout << s << " ";
  } else {
    for (int i = 0; i < n; ++i) {
      if (i < k)
        cout << s << " ";
      else
        cout << S << " ";
    }
  }
  return 0;
}
