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