Lucky decided that he would learn to play chess. The king is the most important piece in the game of chess. The king can move one square in any direction (orthogonally or diagonally). There are total eight such cells. Thus, two kings are in the attacking position, if they are located on the adjacent cells.
Now, Lucky wants to know is the number of ways one can position 2 non-identical kings on a chessboard of size N×N so that no two of them are in the attacking position.
Input format
Output format
For each test case, print the total number of ways in a new line.
Constraints
1≤T≤100002≤N≤50000
For the first test case, there are no possible ways to place 2 kings on the chessboard without attacking each other.
For the second testcase, there are total 32 ways to place 2 kings on the chessboard.