#include <bits/stdc++.h>
using namespace std;
int a[100010];
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; i++) a[i] = s;
  for (int i = k + 1; i <= n; i++) a[i] = s + 1;
  cout << a[1];
  for (int i = 2; i <= n; i++) cout << " " << a[i];
  cout << endl;
  return 0;
}
