#include using namespace std; int A,B,C,D; main() { cin>>A>>B>>C>>D; if(A+B-C<2) { cout<<-1<D) { cout<<-1<D) { cout<<-1<D) { cout<<-1<