#include <bits/stdc++.h>
using namespace std;
using ll = long long;
constexpr int INF = 2147483647;
constexpr ll mod = 1000000007;
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return true;
  }
  return false;
}
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return true;
  }
  return false;
}
inline void init() {
  cin.tie(nullptr);
  cout.tie(nullptr);
  ios::sync_with_stdio(false);
  cout << fixed << setprecision(15);
}
int main() {
  init();
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> ans(N, S - 1);
  if (S == 1) {
    for (int i = (int)(0); i < (int)(N); ++i) ans[i]++;
  }
  for (int i = (int)(0); i < (int)(K); ++i) ans[i] = S;
  for (int i = (int)(0); i < (int)(N); ++i) {
    cout << ans[i] << (i == N - 1 ? "\n" : " ");
  }
  return 0;
}
