Тавсифи масъала
Vasya recently started playing chess and somewhere read a puzzle in which it was necessary to place the maximum number of queens on an board so that at least one square remained unattacked. This problem is easily solved for a board, since it is clear that it is impossible to place more than two queens on it in this way. Help Vasya solve this problem for an board.
Input Format
The input contains a natural number -- the size of the chessboard .
Output Format
In the output, you need to print the maximum number of queens that can be placed on an chessboard so that one square remains unattacked.
Мисолҳо
Мисол 1
Вуруд
3
Баромад
2