Caravans arrive at the zephyr cliffs of Galeholm with crates of vials, and Jatin the measurer must account for every last one. Task: The array is sorted non-decreasing. Print the 1-based position where x would be inserted to keep the order (before equal values). Input format: First line: n and x. Second line: n sorted integers. Output format: Print the insertion position (1..n+1). Constraints: 1 <= n <= 743; -1000000000 <= a[i],x <= 1000000000.
Example 1:
Example 2:
Example 3:
Constraints:
1 <= n <= 743; -1000000000 <= a[i],x <= 1000000000.
