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