#include <bits/stdc++.h>
using namespace std;
int main() {
  int n = 0, k = 0, s = 0;
  cin >> n >> k >> s;
  for (int i = 0; i < k; i++) {
    cout << s << " ";
  }
  if (k < n || k == 0) {
    if (n > 1000000000) {
      s--;
    } else {
      s++;
    }
    for (int i = 0; i < k; i++) {
      cout << s << " ";
    }
  }
  return 0;
}
