#include <bits/stdc++.h>
using namespace std;
const bool dbg_flg = 1;
const int inf = 1e9 + 7;
const int MAXN = 1e6 + 5;
long long n, k, s;
int main() {
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) {
    cout << s << ' ';
  }
  for (int i = k + 1; i <= n; i++) {
    cout << 0 << ' ';
  }
  return 0;
}
