After writing so many problems and test cases, Jeffrey is having a horrible headache! However, he must finish writing the problems for the Seven Week Challenge. At this point, in this much pain, Jeffrey really doesn't care about how much the headache will affect the quality of his problems. He is happy and will feel better about himself as long as he gets them done.
Jeffrey is currently writing up a problem on numbers. He would like the users to classify all numbers from
Of course, the users cannot know about this! Jeffrey must hide this fact and has come to you for help in identifying the perfect squares. Jeffrey will give you two integers,
Input Specification
The input consists of a line with two space-separated integers,
Output Specification
An integer representing the number of perfect squares between
Sample Input
10 50
Sample Output
4
Comments