#C3656. Maximum Weight Calculation
Maximum Weight Calculation
Maximum Weight Calculation
You are given T test cases. Each test case consists of two non-negative integers N and M. In each test case, N represents the number of items weighing 10 units each, and M represents the number of items weighing 15 units each. The maximum weight Alice can carry is calculated using the following formula:
$$\text{max\_weight} = 10 \times N + 15 \times M$$
For each test case, output the computed maximum weight on a separate line.
inputFormat
The first line of input contains an integer T (1 ≤ T ≤ 100), the number of test cases. Each of the following T lines contains two integers N and M (0 ≤ N, M ≤ 1000) separated by a space.
outputFormat
For each test case, output a single integer representing the maximum weight Alice can carry. Each answer should be printed on its own line.
## sample4
3 5
7 2
10 10
0 8
105
100
250
120
</p>