# Tyre problem solution codechef

There are NN bikes and MM cars on the road.

• Each bike has 22 tyres.
• Each car has 44 tyres.

Find the total number of tyres on the road.

### Input Format

• The first line will contain TT – the number of test cases. Then the test cases follow.
• The first and only line of each test case contains two integers N,MN,M.

## Output Format Tyre problem solution codechef

For each test case, output in a single line, the total number of tyres on the road.

### Constraints

• 1T10001≤T≤1000
• 0N,M1000≤N,M≤100

### Sample Input 1  Tyre problem solution codechef

2
2 1
3 0


### Sample Output 1

8
6


## Explanation Tyre problem solution codechef

Test Case 11: There are 22 bikes and 11 car. Each bike has 22 tyres, so there are 22=42⋅2=4 bike tyres. Similarly, each car has 44 tyres, so there are 14=41⋅4=4 car tyres. Adding the tyres of all vehicles, we get 4+4=84+4=8 tyres in total.

Test Case 22: There are 33 bikes and 00 cars. Each bike has 22 tyres, so there are 32=63⋅2=6 bike tyres. There are no cars, so there are 04=00⋅4=0 car tyres. Adding the tyres of all vehicles, we get 6+0=66+0=6 tyres in total.