#include <bits/stdc++.h>
using namespace std;
signed main() {
  ios::sync_with_stdio(false);
  cin.tie(nullptr);
  long long N, K, S;
  cin >> N >> K >> S;
  if (K == N) {
    for (long long i = (0); i < (N); ++i) cout << S << " \n"[i + 1 == N];
    return 0;
  }
  const long long INF = 1000000000;
  if (S == 1) {
    for (long long i = (0); i < (K); ++i) cout << S << " ";
    for (long long i = (0); i < (N - K); ++i)
      cout << INF << " \n"[i + 1 == N - K];
    return 0;
  }
  for (long long i = (0); i < (N); ++i) {
    if (i <= K) {
      if (i % 2 == 0)
        cout << 1 << " ";
      else
        cout << S - 1 << " ";
    } else {
      cout << INF << " ";
    }
  }
  cout << '\n';
}
