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