#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using ull = unsigned long long;
using P = pair<ll, ll>;
using T = tuple<ll, ll, ll>;
using vll = vector<ll>;
using vP = vector<P>;
using vT = vector<T>;
using vvll = vector<vector<ll>>;
using vvP = vector<vector<P>>;
using dqll = deque<ll>;
ll dx[9] = {-1, 1, 0, 0, -1, -1, 1, 1, 0};
ll dy[9] = {0, 0, -1, 1, -1, 1, -1, 1, 0};
const ll INF = 1LL << 50;
int main() {
  cout << fixed << setprecision(15);
  ll n, k, s;
  cin >> n >> k >> s;
  for (ll i = 0; i < (k); ++i) cout << s << " ";
  for (ll i = 0; i < (n - k); ++i) cout << s + 1 << " ";
  cout << endl;
  return 0;
}
