#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S, M = 1e9 - 7;
  cin >> N >> K >> S;
  for (int i = 0; i < K; i++) cout << S << " ";
  for (int i = 0; i < N - K - 1; i++) cout << M << " ";
  cout << M << "\n";
}
