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