#include <bits/stdc++.h>
using namespace std;
const long long int LINF = 2000000000000000000ll;
const int INF = 1000000100;
const long long int MOD = 1e9 + 7;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> ans(n, 0);
  ans[0] = s;
  if (k < n) ans[k] = 1;
  for (int i = 0; i < (n); ++i) printf("%d%s", ans[i], i != n - 1 ? " " : "\n");
  return 0;
}
