#include <bits/stdc++.h>
using namespace std;
inline int toInt(string s) {
  int v;
  istringstream sin(s);
  sin >> v;
  return v;
}
template <class T>
inline string toString(T x) {
  ostringstream sout;
  sout << x;
  return sout.str();
}
template <class T>
inline T sqr(T x) {
  return x * x;
}
const double EPS = 1e-10;
const double PI = acos(-1.0);
long long calcsum(int N) { return (N + 1) * (N) / 2; }
long long between(int l, int r) { return calcsum(r) - calcsum(l); }
long long sumtoidx(int S) { return (-1 + sqrt(1 + 2 * S)) / (2); }
void solve(long long N, long long K, long long S) {
  for (int i = (0); i < (K); ++i) {
    cout << S << " ";
  }
  for (int i = (0); i < (N - K); ++i) {
    cout << max((long long)999999733, S + 1) << " " << endl;
  }
  cout << endl;
}
int main() {
  long long N;
  scanf("%lld", &N);
  long long K;
  scanf("%lld", &K);
  long long S;
  scanf("%lld", &S);
  solve(N, K, S);
  return 0;
}
