#include <bits/stdc++.h>
using namespace std;
long long gcd(long long a, long long b) {
  if (a % b == 0) return b;
  return gcd(b, a % b);
}
long long lcm(long long a, long long b) {
  long long c = gcd(a, b);
  return ((a / c) * (b / c) * c);
}
const long long INF = long long(1e16) + long long(7);
const long long MOD = 1000000007LL;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  vector<long long> ans;
  for (long long i = long long(0); i < long long(K); ++i) {
    ans.push_back(S);
  }
  for (long long i = long long(K); i < long long(N); ++i) {
    ans.push_back(S - 1);
  }
  for (long long i = long long(0); i < long long(N); ++i) {
    cout << ans[i] << (i == N - 1 ? '\n' : ' ');
  }
}
