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