#include <bits/stdc++.h>
using namespace std;
const int N = 100005;
int n, k, s;
int ans[N];
int main() {
  scanf("%d %d %d", &n, &k, &s);
  for (int i = 0; i < n; i++) ans[i] = s + 1;
  for (int i = 0; i < k; i++) ans[i] = s;
  for (int i = 0; i < n; i++) printf("%d%c", ans[i], i == n - 1 ? '\n' : ' ');
  return 0;
}
