#include <bits/stdc++.h>
using namespace std;
long long int n, k, s;
int main() {
  cin >> n >> k >> s;
  for (long long int i = 0; i < k; ++i) cout << s << ' ';
  for (long long int i = k; i < n; ++i) cout << s + 1 << ' ';
  return 0;
}
