#include <bits/stdc++.h>
using namespace std;
template <class T>
bool chmax(T &a, const T &b) {
  if (a < b) {
    a = b;
    return 1;
  }
  return 0;
}
template <class T>
bool chmin(T &a, const T &b) {
  if (b < a) {
    a = b;
    return 1;
  }
  return 0;
}
int gcd(int a, int b) { return b ? gcd(b, a % b) : a; }
int main() {
  cin.tie(0);
  ios_base::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  int kari = 100000;
  if (kari == s) kari--;
  for (long long i = 0; i < (long long)(n - 1); i++) {
    if (k > 0)
      cout << s << " ";
    else
      cout << kari << " ";
    k--;
  }
  if (k > 0)
    cout << s << endl;
  else
    cout << kari << endl;
  return 0;
}
