#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> v(n, s - 1);
  for (int i = 0; i < (int)(k); i++) v[i] = s;
  for (auto it : v) cout << it << " ";
  cout << endl;
}
