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