#include #include #include #include int main() { /* Enter your code here. Read input from STDIN. Print output to STDOUT */ long int a,b; scanf("%ld%ld",&a,&b); printf("%ld",(a*b)-1); return 0; }