#include <bits/stdc++.h>
const int inf = int(1e9) + 7;
const long long INF = 1e18;
const double eps = 1e-9;
using namespace std;
int main() {
  ios_base::sync_with_stdio(0);
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= k; ++i) {
    cout << s << " ";
  }
  for (int i = 1; i <= n - k; ++i) {
    cout << s + 1 << " ";
  }
  return 0;
}
