#include using namespace std; int main(){ int A,B,C,D; int veg=0,meat=0,i,j; int total; cin>>A>>B>>C>>D; total=C+1; while(total<=D && veg