PROGRAMMING:pick an apple
There is an apple tree in Taotao's yard. Every autumn, there are many apples on the tree. When the apples are ripe, Tao Tao will run to pick them. Tao Tao has a 30 cm high bench. When she can't pick apples directly by hand, she will step on the bench and try again.
Now we know the height of each apple to the ground, and the maximum height that Tao Tao can reach when she straightens her hand. Please help Tao Tao calculate the number of apples she can pick. If she touches an apple, it will fall.
###Input format:
It includes three lines of data.
The first line is an integer n, which means there are n apples. There is at least one apple, no more than 1000.
The second line contains n integers between 100 and 200 (including 100 and 200) (in cm), which respectively represent the height of the N apples to the ground. Two adjacent integers are separated by a space.
The third line is an integer (in cm) between 100 and 120 (including 100 and 120), which indicates the maximum height that pottery can reach when its hand is straight.
###Output format:
An integer indicating the number of apples Tao Tao can pick.
###Input example:
```in
ten
100 200 150 140 129 134 167 198 200 111
one hundred and ten
```
###Output example:
```out
five
```
answer:If there is no answer, please comment
Now we know the height of each apple to the ground, and the maximum height that Tao Tao can reach when she straightens her hand. Please help Tao Tao calculate the number of apples she can pick. If she touches an apple, it will fall.
###Input format:
It includes three lines of data.
The first line is an integer n, which means there are n apples. There is at least one apple, no more than 1000.
The second line contains n integers between 100 and 200 (including 100 and 200) (in cm), which respectively represent the height of the N apples to the ground. Two adjacent integers are separated by a space.
The third line is an integer (in cm) between 100 and 120 (including 100 and 120), which indicates the maximum height that pottery can reach when its hand is straight.
###Output format:
An integer indicating the number of apples Tao Tao can pick.
###Input example:
```in
ten
100 200 150 140 129 134 167 198 200 111
one hundred and ten
```
###Output example:
```out
five
```
answer:If there is no answer, please comment