Broadcast Tower
Time limit2sMemory limit512 MB
Place a tower of height H in a row of buildings; a building west of it receives its signal if no taller building blocks the path. Maximize receivers.
Problem
City X has buildings standing in one row from west to east. The westmost building is number 1 and the eastmost is number . The heights are integers , and no two buildings have the same height. The city government plans to build one broadcast tower in the same row. The tower can stand west of building 1, between two neighbouring buildings, or east of building . Its height is , and differs from every building height.
Because of an unusual design, the tower sends signals only to the west. A signal is a horizontal ray that travels parallel to the ground, and rays leave the whole body of the tower, from the top down to the bottom. The tower therefore emits a continuous band of rays whose width equals the height of the tower. A ray stops where it hits a building. Each building has a receiver on its roof, and a building receives the message if at least one ray reaches that receiver.
In other words, building receives the message exactly when all three conditions hold: building stands west of the tower, is not greater than the height of the tower, and no building with standing between building and the tower is higher than building .

In the figure above the buildings that receive the message are 2, 5, 6, and 9.
You are given the heights of the buildings and the height of the tower. Write a program that places the tower where the largest number of buildings receives the message, and prints that number.
Input
The first line contains the number of buildings and the height of the tower , separated by a space.
The second line contains the heights of the buildings, separated by spaces, in order from building 1 to building .
Output
Print on one line the largest number of buildings that receive the message when the tower is placed in the best position.
Constraints
- ,
- The building heights are pairwise different, and equals none of the
Explanation
In the first example the best position for the tower is between building 8 and building 9. Buildings 2, 5, 6, 7, and 8 receive the message.
