#include #include #include #include #include using namespace std; long long n, m; int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ cin >> n >> m; cout << n * m - 1; return 0; }