#include <bits/stdc++.h>
using namespace std;
long long abs(long long a, long long b) { return max(a, b) - min(a, b); }
long long date[100005];
signed main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  long long a, b, c, d = 0;
  long long e = 0, f = 0;
  long long B;
  long long date[1000007];
  cin >> a >> b >> c;
  B = b;
  for (long long i = 0; i < a; i++) {
    if (b != 0) {
      if (a < (B * 2) - 2)
        date[i] = c, b--;
      else {
        if (c % 2 == 0) {
          date[i] = c / 2;
          if (d != 0) b--;
          d++;
        }
        if (c % 2 == 1) {
          if (f % 2 == 0)
            date[i] = (c + 1) / 2;
          else
            date[i] = c / 2;
          if (f != 0) b--;
          f++;
        }
      }
    } else {
      date[i] = c - 1;
    }
  }
  for (long long i = 0; i < a; i++) {
    cout << date[i];
    if (i != a - 1) cout << " ";
  }
  cout << "\n";
}
