#include <bits/stdc++.h>
using ll = long long;
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (int)(n); i++) {
    if (i != 0) cout << " ";
    if (i < k)
      cout << s;
    else
      cout << s + 1;
  }
  cout << endl;
  return 0;
}
