#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, k, s, i, ans, sz;
  cin >> n >> k >> s;
  sz = n;
  bool ok = true;
  if (n % 2 == 1) {
    sz--;
    ok = false;
  }
  for (i = 1; i <= sz / 2; i++) {
    cout << i << " " << s - i << " ";
  }
  if (!ok) {
    cout << s;
  }
  cout << endl;
}
