#include <iostream>
using namespace std;

int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s << endl;
  }
  int x = s == 1000000000 ? 1 : s+1;
  for (int i = 0; i < n-k; i++) {
    cout << x << endl;
  }
}