#include <bits/stdc++.h>
using namespace std;
constexpr int INF = numeric_limits<int>::max() / 2;
constexpr long long INFL = numeric_limits<long long>::max() / 2;
constexpr int MOD = 1000000007;
using Graph = vector<vector<int>>;
int main() {
  cin.tie(nullptr);
  ios::sync_with_stdio(false);
  long long N, K, S;
  cin >> N >> K >> S;
  for (int i = 0; i < (int)(K); i++) {
    cout << S << " ";
  }
  for (int i = 0; i < (int)(N - K); i++) {
    cout << S + 1 << " ";
  }
  cout << endl;
}
