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