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