#include <bits/stdc++.h>
using namespace std;
const int N = 1e5 + 10;
int x[N];
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= n; i++) x[i] = 1e9 + 7;
  for (int i = 1; i <= k; i++) x[i] = s;
  for (int i = 1; i <= n; i++) cout << x[i] << " ";
  return 0;
}
