#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using pii = pair<int, int>;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  ll N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) cout << S << " ";
  for (int i = K; i < N; i++) cout << S - 1 << " ";
  return 0;
}
