#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b;
if (a <= 100 && b > a) {
c = a + b;
}
else {
c = a * b;
cout << c;
return 0;
#include <iostream>
using namespace std;
int main() {
int a, b, c;
cin >> a >> b;
if (a <= 100 && b > a) {
c = a + b;
}
else {
c = a * b;
}
cout << c;
return 0;
}