#include <bits/stdc++.h>
unsigned NthDayOfWeekToDay(unsigned n, unsigned dow, unsigned dow1) {
  unsigned day;
  if (dow < dow1) dow += 7;
  day = dow - dow1;
  day += 7 * n - 6;
  return day;
}
unsigned DayToWeekNumber(unsigned day) { return (day - 1) / 7 + 1; }
unsigned AnotherDayOfWeek(unsigned day, unsigned day0, unsigned dow0) {
  return (dow0 + 35 + day - day0) % 7;
}
using namespace std;
signed main() {
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long i = 0; i < (long long)(K); i++) cout << S << " ";
  for (long long K = 0; K < (long long)(N - K); K++) cout << -1 << " " << endl;
}
