You are working at an amusement park roller coaster. There is a line of incoming children. However, each person needs to be at least height and at most for safety reasons. Given the heights of each child, , count the number of children who can go on the ride. are natural numbers.
In all tests,
The first line contains three numbers separated by spaces: the number of children in line, minimum height, and maximum height, respectively.
The second line contains numbers separated by spaces, the height of each child: .
Output on a single line, the total number of children who can go on the roller coaster.
10 7 12 2 4 1 7 8 10 11 3 9 6