#C5345. Minimum Even Perimeter

    ID: 48984 Type: Default 1000ms 256MiB

Minimum Even Perimeter

Minimum Even Perimeter

Given the dimensions of one or more rectangular fields, your task is to compute the minimum even perimeter for each field. The perimeter of a rectangle is given by

\(2(L + W)\),

where \(L\) is the length and \(W\) is the width. Since this formula always produces an even number for any integers \(L\) and \(W\), simply output \(2(L + W)\) for each test case.

inputFormat

The input begins with an integer \(T\) denoting the number of test cases. Each of the following \(T\) lines contains two space-separated integers \(L\) and \(W\) representing the length and the width of a rectangular field respectively.

outputFormat

For each test case, output a single line containing the even perimeter computed as \(2(L + W)\).

## sample
1
3 4
14

</p>