#include <bits/stdc++.h>
using namespace std;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n, s + 1);
  for (int i = 0; i < k; ++i) {
    a[i] = s;
  }
  for (auto x : a) cout << x << " ";
}
