#include <bits/stdc++.h>
using namespace std;
void solve(int test_case) {
  int n, k, s;
  cin >> n >> k >> s;
  while (n--) {
    if (k > 0)
      cout << s << " ", --k;
    else
      cout << s + 1 << " ";
  }
}
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  int t = 1;
  for (int i = 1; i <= t; i++) {
    solve(i);
  }
  return 0;
}
