The Max Triangle#13097

The Max Triangle

1 second
256 megabytes

Given an integer , Determine the maximum value of a+b+c overall valid triangles (a,b,c) where :

(The last three conditions refer to Triangle's Validity Inequality).

Input

The first line contains single integer (1 \le t \le 10^4) — the number of test cases.

The only line of each test case contains single integer (1 \le n \le 10^8) — the maximum bound.

Output

The maximum possible value of a+b+c.

Examples

Example 1

Loading
Loading

Scoring

  1. Subtask ( points) : No additional constraints.