#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int mod = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
  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 << s + 1 << " ";
  cout << endl;
}
