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