Submit solution

Points:
3

Time limit:
2.0s

Memory limit:
256M

Author:

Problem type

Allowed languages

Ada, Assembly, Awk, Brain****, C, C#, C++, COBOL, ~~CommonLisp~~, D, Dart, F#, Forth, Fortran, Go, ~~Groovy~~, Haskell, Intercal, Java, JS, Kotlin, Lisp, Lua, ~~Nim~~, ~~ObjC~~, OCaml, ~~Octave~~, Pascal, Perl, PHP, Pike, Prolog, Python, Racket, Ruby, Rust, Scala, Scheme, Sed, Swift, TCL, Text, Turing, VB, Zig

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.

#### Constraints

In all tests,

#### Input Specification

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 Specification

Output on a single line, the total number of children who can go on the roller coaster.

#### Sample Input

```
10 7 12
2 4 1 7 8 10 11 3 9 6
```

#### Sample Output

`5`

## Comments