#include <bits/stdc++.h>
using namespace std;
char s[10][10];
int main() {
  std::ios_base::sync_with_stdio(false);
  int mb, tb, cb, m;
  cin >> tb >> mb >> cb >> m;
  if (m > 2 * cb || m >= mb || 2 * m < cb)
    cout << "-1";
  else {
    if (2 * m >= mb && 2 * m + 1 >= tb) {
      if (mb * 2 >= 2 * m + 1) cout << 2 * m + 2 << "\n";
    } else
      cout << tb << "\n";
    if (2 * m >= mb)
      cout << 2 * m + 1 << "\n";
    else
      cout << mb << "\n";
    if (2 * cb > 2 * m)
      cout << cb;
    else
      cout << m;
  }
  return 0;
}
