#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using i_i = tuple<int, int>;
const int X = 1e9;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> a(N);
  int unko = (S == X ? X - 324233 : X);
  for (int i = 0; i < (N); i++) a[i] = (i < K ? S : X);
  for (int i = 0; i < (N); i++) cout << a[i] << ' ';
  cout << endl;
}
