Problem Description
There is an apple tree in the Tautau's yard, and every autumn the tree will bear an apple. When Apple matures, Tata will run to pick apples. There's a Tata .cm high bench, when she can not directly pick the apples by hand, will step on the bench and try again.
now known The height of an apple to the ground, and the maximum height the Tata can reach when the handle is stretched, please help Tata calculate the number of apples she can pick. If she touches an apple, the Apple will fall.
Input
input includes two rows of data. The first line contains ten a to between (including and the ) is an integer (in centimeters) that represents The height of an apple to the ground, separated by a space between two adjacent integers. The second line includes only one to between (including and an integer (in centimeters) that represents the maximum height that the Tata can reach when the handle is stretched.
Output
Output includes a row that contains only an integer that represents the number of apples that Tata can pick up.
Sample Input
100 200 150 140 129 134 167 198 200 111110
Sample Output
5
HINT
1#include <stdio.h>2 intMain ()3 {4 inthigh[Ten],height,counter=0;5scanf"%d%d%d%d%d%d%d%d%d%d", &high[0],&high[1],&high[2],&high[3],&high[4],&high[5],&high[6],&high[7],&high[8],&high[9]);6scanf"%d",&height);7 for(intI=0;i<Ten; i++)8 if(height+ ->=High[i])9counter++;Tenprintf"%d", counter); One return 1; A}
Wuhan University of Science and technology acm:1007: Tata Apple picking