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