#include <bits/stdc++.h>
using namespace std;
long long t, n, m, k, z, x, c, s;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(0), cout.tie(0);
  ;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) cout << s << " ";
  for (int j = k + 1; j <= n; j++) cout << 1 << " ";
  cout << "\n";
}
