#include #include #include #include #include using namespace std; int main() { long long int x,y; long long int l,b; cin>>l>>b; x = (l-1) + (b-1)*l; y = (b-1) + (l-1)*b; if(x<=y) { cout<