#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main()
{
  int N, K, S;
  cin >> N >> K >> S;
  int SS = S + 1;
  if (S + 1 > pow(10, 9))
    SS = 1;
  rep(i, K) cout << S << " ";
  rep(i, N - K) cout << SS << " ";
  cout << endl;
  return 0;
}