#include <bits/stdc++.h>
using namespace std;
int dx[4] = {1, 0, -1, 0};
int dy[4] = {0, 1, 0, -1};
const int long long MOD = 1e9 + 7;
static const int MAX = 100;
static const int INF = (1 << 23);
template <class T>
T gcd(T a, T b) {
  return b ? gcd(b, a % b) : a;
}
template <class T>
T lcm(T a, T b) {
  return a / gcd(a, b) * b;
}
int main() {
  int long long n, k, s;
  cin >> n >> k >> s;
  vector<int long long> v;
  for (int i = 0; i < k; i++) {
    v.push_back(s);
  }
  for (int k = 0; k < n; k++) {
    if (s == 10e+9) {
      if (k == 0) {
        v.push_back(3);
      } else {
        v.push_back(1);
      }
    } else {
      v.push_back(s + 1);
    }
  }
  for (int i = 0; i < n; i++) {
    cout << v[i] << " ";
  }
  cout << endl;
  return 0;
}
