1 second
Something is blocking your requests 'HTTP/1.1 999 Request denied'. Not a sqlmap issue. Please inspect the requests and responses with (e.g.) Burp to see what is going on. Status down. Hello. We have a Windows 7 and a Motorola 2247-N8 wireless modem/router. Recently our internet connection dropped. I managed to restart the router, but on the connection information main page, it says 'WAN status' is down and the PPP username and password are blank. Are these two things related?
256 megabytes
standard input
standard output
![999 999](https://cdn.nichehacks.com/assets/images/_1200x630_crop_center-center_82_none/survivalist-niche-seo-keyword-research.png?mtime=20200618060923&focal=none&tmtime=20200629225817)
Mishka started participating in a programming contest. There are $$$n$$$ problems in the contest. Mishka's problem-solving skill is equal to $$$k$$$.
Mishka arranges all problems from the contest into a list. Because of his weird principles, Mishka only solves problems from one of the ends of the list. Every time, he chooses which end (left or right) he will solve the next problem from. Thus, each problem Mishka solves is either the leftmost or the rightmost problem in the list.
Mishka cannot solve a problem with difficulty greater than $$$k$$$. When Mishka solves the problem, it disappears from the list, so the length of the list decreases by $$$1$$$. 1password 6 safari extension. Mishka stops when he is unable to solve any problem from any end of the list.
How many problems can Mishka solve?
The first line of input contains two integers $$$n$$$ and $$$k$$$ ($$$1 le n, k le 100$$$) — the number of problems in the contest and Mishka's problem-solving skill.
The second line of input contains $$$n$$$ integers $$$a_1, a_2, dots, a_n$$$ ($$$1 le a_i le 100$$$), where $$$a_i$$$ is the difficulty of the $$$i$$$-th problem. The problems are given in order from the leftmost to the rightmost in the list.
Print one integer — the maximum number of problems Mishka can solve.
![Internet Status 4 999 Internet Status 4 999](https://i.ytimg.com/vi/c9_ws8uwgHw/maxresdefault.jpg)
In the first example, Mishka can solve problems in the following order: $$$[4, 2, 3, 1, 5, 1, 6, 4] rightarrow [2, 3, 1, 5, 1, 6, 4] rightarrow [2, 3, 1, 5, 1, 6] rightarrow [3, 1, 5, 1, 6] rightarrow [1, 5, 1, 6] rightarrow [5, 1, 6]$$$, so the number of solved problems will be equal to $$$5$$$.
In the second example, Mishka can't solve any problem because the difficulties of problems from both ends are greater than $$$k$$$.
Internet Status 4 999 0
In the third example, Mishka's solving skill is so amazing that he can solve all the problems.