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