#include <bits/stdc++.h>
using namespace std;
struct _I {
  _I() {
    cin.tie(0);
    ios::sync_with_stdio(false);
  }
} __I;
template <class F, class S>
istream& operator>>(istream& s, pair<F, S>& p) {
  cin >> p.first >> p.second;
  return s;
}
template <class T>
istream& operator>>(istream& s, vector<T>& v) {
  for (T& x : v) {
    s >> x;
  }
  return s;
}
template <class T>
void cout_h(const vector<T>& c, int n = INT_MAX) {
  for (int i = 0; i < (min(n, (int)c.size())); i++)
    cout << c[i] << (i == c.size() - 1 ? "\n" : " ");
}
template <class T>
inline bool chmin(T& a, T b) {
  return a > b ? a = b, true : false;
}
template <class T>
inline bool chmax(T& a, T b) {
  return a < b ? a = b, true : false;
}
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  string s = " " + to_string(S);
  string s2 = " " + to_string(S + 1);
  cout << S;
  for (int i = 0; i < (K - 1); i++) cout << s;
  for (int i = 0; i < (N - K); i++) cout << s2;
  cout << endl;
}
