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