Sidhant and his friends were playing battleship in the math class. Their teacher caught them and she got very angry. She decided to punish the class by giving them a question to solve. This question is very simple. For the following equation,
f(x)=x2 + 2px + q
find the number of real and distinct roots for all 1 ≤ p ≤ b and 1 ≤ q ≤ c
Help the class escape and extra class.
One line containing b and c (1 ≤ b,c ≤ 5000000)
Print one integer which is the required answer