#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int inf = 1e9 + 7;
const ll longinf = 1LL << 60;
const ll mod = 1e9 + 7;
int main() {
  int N, K;
  ll S;
  cin >> N >> K >> S;
  for (int i = (int)(0); i < (int)(K); ++i) {
    cout << S;
    cout << " ";
  }
  for (int i = (int)(0); i < (int)(N - K); ++i) {
    cout << S + 1;
    if (i != N - K - 1) cout << " ";
  }
  cout << endl;
}
