#include <bits/stdc++.h>
using namespace std;
const long long mod = 1000000007;
const double PI = 3.141592653589793238463;
const int N = 1e7 + 9;
int main() {
  ios_base::sync_with_stdio(false);
  cin.tie(NULL);
  cout.tie(NULL);
  ;
  long long x, k, s;
  cin >> x >> k >> s;
  for (int i = 0; i < k; i++) cout << s << " ";
  for (int i = k; i < x; i++) cout << s + 1 << " ";
  return 0;
}
