#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b, c, d;
  int minn;
  while (~scanf("%d%d%d%d", &a, &b, &c, &d)) {
    if (d > 2 * c || d >= b || c > 2 * d) {
      cout << -1 << endl;
    } else
      cout << 2 * a << endl << 2 * b << endl << max(c, d) << endl;
  }
  return 0;
}
