#include <bits/stdc++.h>
using namespace std;
int main() {
  int n;
  int m;
  int sum;
  cin >> n;
  cin >> m;
  cin >> sum;
  int a[10000];
  int k = 0;
  for (int i = 0; i < m - 1; i++) {
    a[i] = sum;
    k++;
  }
  if (k == m - 1) a[k] = sum - n + m;
  for (int i = m; i < n; i++) a[i] = 1;
  for (int j = 0; j < n; j++) {
    cout << a[j] << " ";
  }
  return 0;
}
