#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  int temp = n - k;
  while (k--) cout << s << " ";
  while (temp--) cout << s + 1 << " ";
  return 0;
}
