#include <bits/stdc++.h>
#pragma GCC optimize("O3", "unroll-loops")
#pragma GCC target("avx2")
using namespace std;
const long long int mod = 1000000007;
const int MAX = 1000000 + 9;
int main() {
  long long int n, k, s;
  cin >> n >> k >> s;
  for (int i = 1; i <= n; i++) {
    if (i <= k)
      cout << s << " ";
    else
      cout << s + 1 << " ";
  }
}
