#include <bits/stdc++.h>
using namespace std;
const int inf = 0x3f3f3f3f;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  cout << s;
  n = n - k;
  k--;
  while (k--) cout << " " << s;
  if (s == 1000000000) s = 1;
  while (n--) cout << " " << s + 1;
  cout << endl;
}
