#include <bits/stdc++.h>
using namespace std;
const int MAXN = 1e5;
int N, K, S;
int main() {
  int i, j;
  scanf("%d%d%d", &N, &K, &S);
  for (i = 1; i <= K; i++) printf("%d ", S);
  for (i = K + 1; i <= N; i++) printf("%d ", S + 1);
}
