#include <bits/stdc++.h>
using namespace std;
const int N = 2 * 1e3 + 5;
int main() {
  int n, m, x, temp;
  cin >> n >> m >> x;
  for (int i = 0; i < m; ++i) cout << x << " ";
  if (x + 1 <= 1e9)
    temp = x + 1;
  else
    x - 1;
  for (int i = 0; i < n - m; ++i) cout << temp << " ";
}
