#include <bits/stdc++.h>
using namespace std;
const long long mod = 1e9 + 7;
const long long inf = 1e16;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  long long n, k, s;
  cin >> n >> k >> s;
  for (long long i = 0; i < k; i++) cout << s << " ";
  for (long long i = 0; i < n - k - 1; i++) cout << s - 1 << " ";
  cout << s - 1 << endl;
}
