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