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