#include <bits/stdc++.h>
using namespace std;
int main() {
  int k, l, m, n;
  cin >> k >> l >> m >> n;
  if (n >= k || n >= l || m * 2 < n || 2 * n < m) {
    cout << "-1" << endl;
    return 0;
  }
  k *= 2;
  l *= 2;
  if (n > m) m *= 2;
  cout << k << "\n" << l << "\n" << m << endl;
  return 0;
}
