#include <bits/stdc++.h>
using namespace std;
const long long int INF = 1 << 29;
const long long MOD = 1000000007;
int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  long long n, k, s;
  cin >> n >> k >> s;
  vector<int> a;
  for (int i = 0; i < (n); ++i) {
    if (i < k)
      a.push_back(s);
    else
      a.push_back(s + 1);
  }
  for (int i = 0; i < (n); ++i) std::cout << a[i] << " ";
}
