#include #define rep(i,n) for(int i = 0;i> a[i]; sum += a[i]; } cout << max(a[2]*3, sum) << endl; return 0; }