#include <bits/stdc++.h>

#define rep(i, n) for (ll i = 0; i < (n); i++)
using namespace std;
typedef long long ll;
const ll INF = 1e9;

int main() {
  ll n, k, s;
  cin >> n >> k >> s;

	for (int i=1;i<=k;i++) printf("%d ",s);
	for (int i=k+1;i<=n;i++) printf("%d ",(s==1e9)?s-1:s+1);
  return 0;
}
