#include <bits/stdc++.h>
#pragma GCC optimize("O3")
using namespace std;
const long long mod = 1e9 + 7;
int l, m, s, ms;
int32_t main() {
  ios_base ::sync_with_stdio(0);
  cin.tie();
  cout.tie();
  cin >> l >> m >> s >> ms;
  if (m <= ms || s > 2 * ms || ms > 2 * s || max(m, 2 * ms + 1) > 2 * l)
    return cout << -1 << endl, 0;
  cout << 2 * l << '\n' << max(m, 2 * ms + 1) << '\n' << max(s, ms);
}
