#include <bits/stdc++.h>
using namespace std;
using ll = long long;
signed main() {
  int n, k, sum;
  cin >> n >> k >> sum;
  if (k == 0) {
    for (int i = 0; i < (n - 1); ++i) {
      cout << sum + 1 << " ";
    }
    cout << sum + 1 << "\n";
    return 0;
  }
  if (n == 1) {
    cout << sum << "\n";
    return 0;
  }
  int count = 0;
  for (int i = 0; i < (k); ++i) {
    if (i == 0) {
      cout << sum << " ";
      ++count;
    } else {
      cout << sum - i << " " << i << " ";
      count += 2;
    }
  }
  for (int i = 0; i < (n - count); ++i) {
    if (i == n - count - 1) {
      cout << sum + 1;
    } else {
      cout << sum + 1 << " ";
    }
  }
  cout << "\n";
  return 0;
}
