U - Expression #include <iostream> #include <cstdlib> #include <cmath> using namespace std; int main() { int a,b,c; while(cin>>a>>b>>c) { int d=a*b*c; int e=a+b+c; int f=a*(b+c); int g=(a+b)*c; int h=a+b*c; int Max = max(h,max(d,max(max(e,f),g))); cout<<max; } return 0; }