#include <bits/stdc++.h>
using namespace std;
vector<long long int> vec;
vector<vector<long long int> > vec2;
long long int MOD = 1000000007;
long long int INF = 11451419194545;
int main() {
  long long int N, K, S;
  cin >> N >> K >> S;
  long long int iku = 1919;
  if (S == 10e9) {
    iku *= -1;
  }
  for (long long int i = 0; i < N; i++) {
    if (i >= K) {
      cout << (i ? " " : "") << S + iku;
    } else {
      cout << (i ? " " : "") << S;
    }
  }
}
