#include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include #include using namespace std; int main(){ int n; int m; cin >> n >> m; long long temp = (long long)n*m-(long long)1; cout<