#include <bits/stdc++.h>
using namespace std;
struct Solver {
  Solver() { ios::sync_with_stdio(false); }
  void solve() {
    int N, K, S;
    cin >> N >> K >> S;
    cout << S;
    for (int i = 1; i < K; ++i) {
      cout << ' ' << S;
    }
    if (S == 1000000000) {
      for (int i = 0; i < N - K; ++i) {
        cout << ' ' << 1;
      }
    } else {
      for (int i = 0; i < N - K; ++i) {
        cout << ' ' << S + 1;
      }
    }
    cout << endl;
  }
};
int main() {
  Solver().solve();
  return 0;
}
