#include<bits/stdc++.h>
using namespace std;
int main()
{
int n, m;
while(cin >> n >> m)
{
long int t = (n*m) - 1;
cout << t << endl;
}
return 0;
}
using namespace std;
int main()
{
int n, m;
while(cin >> n >> m)
{
long int t = (n*m) - 1;
cout << t << endl;
}
return 0;
}
Comments
Post a Comment