#include <bits/stdc++.h>
using namespace std;
long long n, k, sum;
long long a[101010];
int main() {
  cin >> n >> k >> sum;
  if (n == 1) {
    if (k)
      cout << sum << endl;
    else
      cout << sum + 1 % (1000000007 - 7) << endl;
    return 0;
  }
  if (sum == 1) {
    for (int i = 0; i < n; i++) {
      if (k) {
        cout << 1 << " ";
        k--;
      } else {
        cout << 2 << " ";
      }
    }
    cout << endl;
    return 0;
  }
  long long was = 1;
  for (int i = 0; i < n; i++) {
    if (k >= 0) {
      cout << sum - was << " ";
      was = sum - was;
      k--;
    } else {
      cout << 1000000007 - 7 << " ";
    }
  }
  cout << endl;
  return 0;
}
