#CCBCHBAHAI0000159. Phần tử đầu tiên lớn hơn x (First Element Greater Than x)

Phần tử đầu tiên lớn hơn x (First Element Greater Than x)

First Element Greater Than x

Source: Phước Hưng OJ

Version: Phuoc Hung OJ Extended

Problem Statement

Given an integer array A=(a0,a1,…,an−1)A=(a_0,a_1,\ldots,a_{n-1}) and an integer xx, find the smallest 00-based index pp such that

ap>x.a_p>x.

If no element is greater than xx, print -1.

Input

  • The first line contains integers nn and xx.
  • The second line contains nn integers a0,a1,…,an−1a_0,a_1,\ldots,a_{n-1}.

Output

Print the first index whose value is greater than xx, or -1 if none exists.

Subtasks

Subtask 1 (100 points): 1≤n≤1051\le n\le10^5; −109≤ai,x≤109-10^9\le a_i,x\le10^9.

Examples

Input

6 10
3 10 9 12 15 1

Output

3

Explanation

Indices 0,1,20,1,2 contain 3,10,93,10,9, none of which is greater than 1010. At index 33, 12>1012>10, so the answer is 3.