#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int j = 0; j < K; j++) {
    cout << S << " ";
  }
  for (int j = 0; j < N - K; j++) cout << -0x3f3f3f3f << " ";
  return 0;
}
