#include <bits/stdc++.h>
using namespace std;
const int MaxN = 1e6 + 1;
bool ok = 0, good;
char w;
int ans = 0;
int main() {
  int a, b, c, d;
  cin >> a >> b >> c >> d;
  for (int i = a; i <= a * 2; i++)
    if (d * 2 < i)
      for (int j = b; j <= b * 2; j++)
        if (d * 2 < j)
          for (int k = c; k <= c * 2; k++)
            if (d <= k && d * 2 >= k && i > j && j > k) {
              cout << i << endl;
              cout << j << endl;
              cout << k << endl;
              return 0;
            }
  cout << -1 << endl;
}
