#include <bits/stdc++.h>
using namespace std;
template <class K, class V>
ostream &operator<<(ostream &out, pair<K, V> &elem) {
  out << "{" << elem.first << "," << elem.second << "}";
  return out;
}
int DEBUG = 0;
using namespace std;
const int N = 100 * 1000 + 5;
const long long MOD = 1000 * 1000 * 1000 + 7;
const long long INF = 1000 * 1000 * 1000;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) cout << s << ' ';
  for (int i = 0; i < n - k; i++) cout << INF << ' ';
  cout << endl;
  return 0;
}
