#include <bits/stdc++.h>
using namespace std;
using ll = long long;
int main() {
  int N, K, S;
  cin >> N >> K >> S;
  for (int i = 0, i_len = int(N); i < i_len; ++i) {
    if (K-- > 0) {
      cout << S << " ";
    } else
      cout << S + 1 << " ";
  }
}
