#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1000000007;
const double PI = 3.1415926535897932;
const long long INF = 10000000000;
long long n, k, s;
long long solve() {
  cin >> n >> k >> s;
  for (long long i = (0); i < (k); i++) {
    cout << s << " ";
  }
  for (long long i = k; i < n; i++) {
    cout << s + 1 << " ";
  }
  cout << endl;
  return 0;
}
int main() {
  cout << std::fixed << std::setprecision(10);
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  long long end_solve = solve();
  return (int)end_solve;
}
