#include <bits/stdc++.h>
using namespace std;
const int mod = 1000000007;
const int INF = 1001001001;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  vector<int> a(n);
  for (int i = 0; i <= k - 1; ++i) a[i] = s;
  for (int i = k; i <= n - 1; ++i) a[i] = 1;
  for (int i = 0; i <= n - 1; ++i) cout << a[i] << endl;
  return 0;
}
