#include <bits/stdc++.h>
using namespace std;
using PII = pair<int64_t, int64_t>;
using VI = vector<int64_t>;
using VVI = vector<VI>;
using VS = vector<string>;
using VP = vector<PII>;
using i64 = int64_t;
template <typename T>
void invec(vector<T>& A) {
  for (T& a : A) cin >> a;
}
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N, K, S;
  cin >> N >> K >> S;
  for (int64_t _ = (0); _ < (K); ++_) cout << S << ' ';
  for (int64_t _ = (0); _ < (N - K); ++_) cout << S - 1 << ' ';
}
