#define _GLIBCXX_DEBUG #include using namespace std; int main(){ int T;cin>>T; for(int t=0;t>A>>B; cout<<(A+1)*B<