Score : $400$ points
Given are integers $N$ and $K$. How many quadruples of integers $(a,b,c,d)$ satisfy both of the following conditions?
Input is given from standard input in the following format:
Print the answer.
Four quadruples below satisfy the conditions: