#include using namespace std; void solve(){ int a,b; cin >> a >> b; cout << b + (a * b) << endl; } int main(){ int t; cin >> t; for (int i = 0; i