#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  vector<int> vec(N);
  for (int i = 0; i < N; i++) {
    if (i < K - 1) {
      vec[i] = S;
    } else {
      vec[i] = S + i - K + 1;
    }
  }
  for (int i = 0; i < N; i++) {
    cout << vec[i] << " ";
  }
  cout << endl;
}
