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