#include <bits/stdc++.h>
using namespace std;
long long ans;
int N, K, S;
void solve() {
  for (int i = 0, i_len = (N); i < i_len; ++i) {
    if (i < K)
      cout << S;
    else
      cout << 0;
    if (i == N - 1)
      cout << endl;
    else
      cout << " ";
  }
}
int main() {
  cin >> N >> K >> S;
  solve();
}
