#include <bits/stdc++.h>
using namespace std;
void fileioe() {
  freopen("input.txt", "r", stdin);
  freopen("output.txt", "w", stdout);
  freopen("error.txt", "w", stderr);
}
void error_out() { cerr << endl; }
template <typename Head, typename... Tail>
void error_out(Head H, Tail... T) {
  cerr << " " << H;
  error_out(T...);
}
void time_elapsed() {
  cerr << "\nTime Elapsed : " << 1.0 * clock() / CLOCKS_PER_SEC << " s\n";
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long int n, k, s;
  cin >> n >> k >> s;
  for (long long int i = 0; i < k; i++) {
    cout << s << " ";
  }
  for (long long int i = k; i < n; i++) {
    cout << s + 1 << " ";
  }
  1;
  return 0;
}
