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