#include <bits/stdc++.h>
using namespace std;
const long long LMAX = (1LL << 61);
const int IMAX = (1 << 29);
const int BIG = 104206970;
const int PRIME = 104206969;
const int N = 100001;
const int MOD = 1e9 + 7;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  int n, k, s;
  cin >> n >> k >> s;
  int i = 0;
  for (; i < k; i++) cout << s << (i + 1 == n ? '\n' : ' ');
  for (; i < n; i++) cout << (s == 1e9 ? 1 : 1e9) << (i + 1 == n ? '\n' : ' ');
  return 0;
}
