#include <bits/stdc++.h>
using namespace std;
const int inf = int(1e9);
const int mod = 1e9 + 7;
const int N = (int)2e5 + 5;
void solve() {
  int n, k, s;
  cin >> n >> k >> s;
  n -= k;
  while (k--) cout << s << " ";
  while (n--) cout << s - 1 << " ";
}
int main() {
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  int t = 1;
  while (t--) solve();
  return 0;
}
