#include using namespace std; #define pb push_back #define ui unsigned int #define ll long long #define ull unsigned long long #define rev(v) reverse(v.begin(),v.end()) #define FOR(a,b) for(int i = (a); i <= (b); ++i) #define FORD(a,b) for(int i = (a); i >= (b); --i) #define rev(v) reverse(v.begin(),v.end()) #define sort3(ARR,n) sort(ARR,ARR+n,less()) #define sort4(ARR,n) sort(ARR,ARR+n,greater()) #define asort(v) sort(v.begin(),v.end(),less()) #define desort(v) sort(v.begin(),v.end(),greater()) #define display(shaan) for (std::vector::const_iterator i = shaan.begin(); i != shaan.end(); ++i) std::cout << *i << ' '; #define fastScan ios_base::sync_with_stdio(0); cin.tie(NULL); #define sz(v) (int)v.size(); vector< vector >v; int main() { fastScan; ll n,m,ans; cin>>n>>m; ans=n*m; ans--; cout<