#include <bits/stdc++.h>
using namespace std;
signed main() {
  int n, k, s, loop[100050], a, b;
  cin >> n >> k >> s;
  if (s - n + k == 1)
    a = s - 2 * (n - k), b = 2;
  else
    a = s - n + k, b = 1;
  for (int i = 0; i < n; i++) {
    if (i % (n - k + 1) == 0)
      cout << a;
    else
      cout << b;
    if (i < n - 1)
      cout << ' ';
    else
      cout << endl;
  }
  return (0);
}
