#include <bits/stdc++.h>
using namespace std;
const long long MOD = 1e9 + 7;
vector<int> ans;
int main() {
  int n, k, s;
  while (~scanf("%d%d%d", &n, &k, &s)) {
    ans.clear();
    for (int i = 0; i < k; i++) ans.push_back(s);
    for (int i = k; i < n; i++) ans.push_back(s + 1);
    for (int i = 0; i < n; i++) {
      printf("%d ", ans[i]);
      assert(ans[i] >= 1 && ans[i] <= 1000000000);
    }
    puts("");
  }
}
