#include < iostream >
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int a = 3, b = 5;
if(a > b)
cout << (a+1) * b;
else
cout << a + (b+1);
}
#include < iostream >
using namespace std;
int main() {
ios_base::sync_with_stdio(0);
cin.tie(0);
int a = 3, b = 5;
if(a > b)
cout << (a+1) * b;
else
cout << a + (b+1);
}