#include <bits/stdc++.h>
using namespace std;
int mx8[] = {0, 0, 1, -1, -1, 1, -1, 1};
int my8[] = {-1, 1, 0, 0, -1, -1, 1, 1};
int mx4[] = {1, -1, 0, 0};
int my4[] = {0, 0, -1, 1};
const int MOD = 1000000007;
int main() {
  int n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < (k); i++) cout << s << " ";
  for (int i = 0; i < (n - k); i++) cout << s + 1 << " ";
}
