#arc107b. [arc107_b]Quadruple
[arc107_b]Quadruple
Problem Statement
Given are integers and . How many quadruples of integers satisfy both of the following conditions?
Constraints
- All numbers in input are integers.
Input
Input is given from standard input in the following format:
Output
Print the answer.
Sample Input 1
2 1
Sample Output 1
4
Four quadruples below satisfy the conditions:
Sample Input 2
2525 -425
Sample Output 2
10314607400