#include <bits/stdc++.h>
using namespace std;
const int INF = 1e9;
const long long LLINF = 1e18;
const long long MOD = 1e9 + 7;
const double EPS = 1e-10;
template <class T>
inline bool chmax(T& a, T b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
inline bool chmin(T& a, T b) {
  if (a > b) {
    a = b;
    return 1;
  }
  return 0;
}
int n, k;
long long s;
vector<int> v;
int a[100010];
int main() {
  cin >> n >> k >> s;
  if (s == 1) {
    if (k == 0) {
      for (int i = 0; i < n; i++) a[i] = 2;
    } else if (k == 1) {
      v.push_back(1);
      for (int i = 0; i < n - 1; i++) a[i] = 2;
    } else {
      for (int i = 0; i < n; i++) a[i] = 2;
      for (int i = 0; i < k; i++) a[2 * i] = 1;
    }
  } else if (s == 1e9) {
    for (int i = 0; i < k; i++) a[i] = s;
    for (int i = 0; i < n - k; i++) a[i] = s - 1;
  } else {
    for (int i = 0; i < k; i++) a[i] = s;
    for (int i = 0; i < n - k; i++) {
      if (i % 2 == 0)
        a[i] = 1e9;
      else
        a[i] = s + 1;
    }
  }
  for (int i = 0; i < n; i++) {
    if (i < n - 1)
      cout << a[i] << " ";
    else
      cout << a[i] << endl;
  }
}
