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