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