#include using namespace std; int main(){ int a,b,c,d; int total=0,count; int i,n; cin>>a>>b>>c>>d; for(count=1;total