#include <bits/stdc++.h>
const int INF = 0x3f3f3f3f;
const long long LINF = 0x3f3f3f3f3f3f3f3fLL;
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(0);
  int n, k, s;
  cin >> n >> k >> s;
  int a[n + 5];
  for (int i = 0; i < k; i++) {
    a[i] = s;
  }
  for (int i = k; i < n; i++) {
    a[i] = s - 1;
  }
  for (int i = 0; i < (n - 1); i++) {
    cout << a[i] << " ";
  }
  cout << a[n - 1] << '\n';
  return 0;
}
