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