CF321D Ciel and Flipboard

Description

Fox Ciel has a board with $ n $ rows and $ n $ columns, there is one integer in each cell. It's known that $ n $ is an odd number, so let's introduce ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF321D/6479833d305e8df8be298c6d130b2c56818252f6.png). Fox Ciel can do the following operation many times: she choose a sub-board with size $ x $ rows and $ x $ columns, then all numbers in it will be multiplied by -1. Return the maximal sum of numbers in the board that she can get by these operations.

Input Format

The first line contains an integer $ n $ , ( $ 1

Output Format

Output a single integer: the maximal sum of numbers in the board that can be accomplished.

Explanation/Hint

In the first test, we can apply this operation twice: first on the top left $ 2×2 $ sub-board, then on the bottom right $ 2×2 $ sub-board. Then all numbers will become positive. ![](https://cdn.luogu.com.cn/upload/vjudge_pic/CF321D/bba86be06e5760920ea393fc6a496f40415e324b.png)