#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int p = s + 1;
  for (int i = 0; i < n; i++) {
    if (i % 2 == 0 && 0 < k) {
      cout << s << flush;
    } else {
      cout << p << flush;
    }
    if (i != n - 1) {
      cout << " " << flush;
    }
    p++;
    k++;
  }
  cout << endl;
  return 0;
}
