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