#include <bits/stdc++.h>
using namespace std;
const int mod = 1e9 + 7;
template <class T>
using vt = vector<T>;
template <class T>
using vvt = vector<vector<T>>;
long long gcd(long long n, long long m) { return (m == 0 ? n : gcd(m, n % m)); }
long long lcd(long long n, long long m) { return (n / gcd(n, m) * m); }
int dx[] = {1, 0, -1, 0};
int dy[] = {0, 1, 0, -1};
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int n, k, s;
  cin >> n >> k >> s;
  vt<int> a(n);
  for (int i = 0; i < k; ++i) a[i] = s;
  int num = s + 1;
  if (s == 1e9) s = 1;
  for (int i = k; i < n; ++i) a[i] = num;
  for (int i = 0; i < n; ++i) cout << a[i] << " \n"[i == n - 1];
}
