#include <bits/stdc++.h>
using namespace std;
const int MOD = 1000000007;
const int IINF = INT_MAX;
const long long INF = 1LL << 60;
int main() {
  long long n, k, s;
  cin >> n >> k >> s;
  for (int i = 0; i < n; i++) {
    if (i % 2 == 0) cout << s;
    if (i & 1) cout << s * 2;
    if (i != n - 1)
      cout << ' ';
    else
      cout << "\n";
  }
  return 0;
}
