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