#include <iostream>
using namespace std;
int main() {
	cin.tie(0);
   	ios::sync_with_stdio(false);

	int n,k,s;
	cin >> n;
	cin >> k;
	cin >> s;
  	
  for (int i = 0; i < n; i++)
  {
    if (i < k) cout << s << " ";
    else if (s < 1000000000) cout << s + 1 << " ";
    else cout << 1 << " ";
  }
}

