#Z15102. 陶陶摘苹果

陶陶摘苹果

Description

There is an apple tree in Tao Tao's yard that bears 10 apples every autumn. When the apples are ripe, Tao Tao runs to pick them. Tao Tao has a 30-centimeter-high stool, which she uses when she cannot reach the apples directly with her hands.
Given the heights of the 10 apples from the ground and the maximum height Tao Tao can reach with her hands fully extended, calculate the number of apples she can pick.
Assume that if she touches an apple, it will fall.

Input Format

The input consists of two lines.
The first line contains 10 integers between 100 and 200 (inclusive), representing the heights of the 10 apples from the ground in centimeters. The integers are separated by a single space.
The second line contains a single integer between 100 and 120 (inclusive), representing the maximum height Tao Tao can reach with her hands fully extended.

Output Format

The output consists of a single line containing one integer, which is the number of apples Tao Tao can pick.

100 200 150 140 129 134 167 198 200 111
110


5