#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v(n);
  for (int j = 0; j < k; ++j) v[j] = s;
  for (int j = k; j < n; ++j) v[j] = s + 1;
  for (int i = 0; i < n; ++i) cout << v[i] << " ";
  return 0;
}
