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