#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5 + 5;
int read() {
  int s = 0, f = 1;
  char ch = getchar();
  while (ch < '0' || ch > '9') {
    if (ch == '-') f = -1;
    ch = getchar();
  }
  while (ch >= '0' && ch <= '9') {
    s = s * 10 + ch - '0';
    ch = getchar();
  }
  return s * f;
}
long long arr[MAXN];
int main() {
  long long n, k, s;
  while (cin >> n >> k >> s) {
    int cnt = 1;
    if (k >= 2) {
      arr[cnt++] = s / 2;
      arr[cnt++] = (s + 1) / 2;
      k--;
    }
    while (k != 1) {
      arr[cnt] = arr[cnt - 2];
      cnt++;
      k--;
    }
    arr[cnt++] = s;
    for (int i = cnt; i <= cnt; i++) {
      arr[i] = ++s;
    }
    for (int i = 1; i <= n; i++) {
      cout << arr[i] << " ";
    }
    cout << endl;
  }
  return 0;
}
