#c22204. 互不侵犯

互不侵犯

Non-aggression

Problem Source

SCOI2005

Problem Description

Place kk kings on an n×nn \times n chessboard so that they do not overlap and do not attack each other. Count the number of valid placements.

Each king attacks the 88 squares around it.

Input Format

One line containing two integers n,kn, k.

Output Format

Output one line containing a number: the number of placements.

Sample Input

3 2

Sample Output

16

Constraints

For all data, 1≤n≤9,0≤k≤n21 \leq n \leq 9, 0 \leq k \leq n^2.