#include <iostream>
#include <utility>
#include <stdint.h>

using namespace std;

int main()
{
  int N, K, S;
  cin >> N >> K >> S;

  for (int n=0; n<K; ++n)
    cout << S << ' ';
  for (int n=K; n<N; ++n)
    cout << (S==1000000000 ? 999999999 : 1000000000) << ' ';
  cout << endl;

  return 0;
}
