#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S, i;
  cin >> N >> K >> S;
  vector<int> arr;
  int val;
  val = S;
  for (i = 0; i < K; i++) {
    arr.push_back(val);
  }
  for (i = K; i < N; i++) {
    arr.push_back(val + i);
  }
  for (i = 0; i < N; i++) {
    cout << arr[i] << " ";
  }
  return 0;
}
