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