#c22204. 互不侵犯
互不侵犯
Non-aggression
Problem Source
SCOI2005
Problem Description
Place kings on an chessboard so that they do not overlap and do not attack each other. Count the number of valid placements.
Each king attacks the squares around it.
Input Format
One line containing two integers .
Output Format
Output one line containing a number: the number of placements.
Sample Input
3 2
Sample Output
16
Constraints
For all data, .