#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
int main() {
  long long N, K, S;
  cin >> N >> K >> S;
  for (long long i = 0; i < (long long)(K); i++) {
    cout << S << ' ';
  }
  for (long long i = 0; i < (long long)(N - K); i++) {
    cout << S + 1 << ' ';
  }
  cout << endl;
}
