#include <bits/stdc++.h>
using namespace std;
int main() {
  long long n, m, sum;
  cin >> n >> m >> sum;
  long long num = n / m + 1;
  if (n % num == 0) num -= 1;
  for (int i = 0; i < m; i++) {
    cout << sum << " ";
  }
  for (int i = 0; i < n - m; i++) {
    cout << sum + 10 << " ";
  }
  return 0;
}
