#include <bits/stdc++.h>
using namespace std;
int main() {
  ios::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  long long n, m, p;
  cin >> n >> m >> p;
  long long rest = n - m;
  while (m--) cout << p << " ";
  while (rest--) cout << (p + 1) << " ";
  return 0;
}
