Create a program that reads \(5\) real numbers \(a\), \(b\), \(c\), \(d\), and \(e\) from the standard input and calculates the value
\[\max\{a,b\}+\min\{c,d,e\}+\max\{b,e\}.\] Your code should replace the text
// ??? //
#include<iostream>
int main(){
double a,b,c,d,e;
double result;
std::cin>>a>>b>>c>>d>>e;
// ??? //
std::cout<<result<<"\n";
return 0;
}