#include using namespace std; int main(){ int A,B,C,D; cin >> A >> B >> C >> D; int E=0; int M =0,V=0; while(D>E && M