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