#include <bits/stdc++.h>
using namespace std;
const long long int INF = 999999999999999;
const long long int MOD = 1000000007;
long long int a, b, c, d, e, f, p, t, x, y, z, q, m, n, r, h, k, w, l, ans = 0;
int main() {
  cin >> n >> k >> x;
  for (long long int i = 0; i < long long int(n); i++) {
    if (i < k)
      cout << x;
    else
      cout << x + 1;
    if (i != n - 1)
      cout << " ";
    else
      cout << endl;
  }
}
