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