#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int i = 1;
  int cnt = 1;
  cout << s << " ";
  while (i <= n) {
    int x = s - i;
    if (n - cnt >= 2 && k >= 1) {
      cout << i << " " << x << " ";
      cnt = cnt + 2;
      k = k - 2;
    } else if (n - cnt >= 1 && k == 0) {
      cout << s + 1 << " ";
      cnt++;
    } else if (n - cnt == 0) {
      break;
    }
    i++;
  }
}
