#include <bits/stdc++.h>
using namespace std;
int main() {
  long long num, k, s;
  cin >> num >> k >> s;
  if (s == 1000000000) {
    for (int i = s; i > 1; i--) cout << i << " ";
  } else {
    for (int i = s; i > 0; i--) cout << i << " ";
  }
}
