#include using namespace std; int main() { int a; cin >> a; for(int i=0; i> b >>c; cout<< b*c+c<