#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < (K); ++i) cout << S << " ";
  ll num;
  if (S > 10e6)
    num = 0;
  else
    num = 10e9;
  for (int i = 0; i < (N - K); ++i) cout << num << " ";
}
