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