After beating his friends at their card game, Bob decides to make a few s'mores before retiring for the night. Bob loves s'mores, so he decides to build
Each campfire
Little does he know that campfires must fulfill exactly one of two conditions to be able to cook s'mores as efficiently as possible.
— its intensity should be at least degrees, otherwise the s'mores will not melt fast enough. — its variance should be at most degrees, since similar fires will cook the s'mores evenly.
Input Specification
The input begins with three space-separated integers on one line
The next
Output Specification
Output a single integer, denoting the number of campfires Bob has built that can be used to cook s'mores efficiently.
Sample Input
3 2 1
1
2
1
Sample Output
2
Comments