#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, m, k;
  cin >> n >> m >> k;
  vector<int> v;
  for (int i = 1; i <= m - 1; ++i) {
    v.push_back(i);
    v.push_back(k - i);
  }
  if (m) v.push_back(k);
  while (v.size() < n) {
    ++k;
    v.push_back(k);
  }
  for (int i = 0; i < n; ++i) cout << v[i] << ' ';
  return 0;
}
