#include <bits/stdc++.h>
using namespace std;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  int S_last = S;
  if (S_last > 100000) {
    S_last = 100000;
  }
  for (int i = 0; i < N; i++) {
    if (K == 0) {
      cout << (S_last + 1) % 100000 << " ";
    } else {
      cout << S << " ";
      K--;
      S_last = S;
      S = 0;
    }
  }
  cout << endl;
}
