#include
using namespace std;
int main () {
int a,b,c,d,e,t=-99999999;
cin>>a>>b>>c>>d>>e;
for(int i=0;i<5;i++){
if(t<a){
t=a;
}
else if(t<b || a<b) t=b;
else if(t<c || a<c || b<c) t=c;
else if(t<d || a<d || b<d || c<d) t=d;
else if(t<e || a<e || b<e || c<e || d<<e) t=e;
return t;
}
return 0;
}
compiled successfully but showing error while submitting