#include<cstdio>

using namespace std;

const int N = 1e9;


int main(){
	//freopen("in","r",stdin);
	int n,k,s;
	scanf("%d%d%d",&n,&k,&s);
	for(int i = 0;i < k;i++) printf("%d ", s);
	for(int i = k;i < n;i++) if(s==N)printf("%d ", s-1);else printf("%d ", s+1);
	printf("\n");
}