#include <bits/stdc++.h>
using namespace std;
int main() {
  long long N, K, S, ans;
  cin >> N >> K >> S;
  if (K = 0) {
    for (int i = 0; i < (N); ++i) cout << S + 1 << endl;
    return 0;
  }
  if (S < 10e9) {
    for (int i = 0; i < (K); ++i) cout << S << endl;
    for (int i = 0; i < (N - K); ++i) cout << S + 1 << endl;
  } else {
    for (int i = 0; i < (K); ++i) cout << S << endl;
    for (int i = 0; i < (N - K); ++i) cout << 1 << endl;
  }
  return 0;
}
