PROGRAMMING:Binary search
Use binary search to find the subscript of the given number in the array
###Input format:
The first line of input n and M means that there are n data in the array, and M means to find m numbers
###Output format:
All output is done in one line with no extra spaces and carriage returns at the end of the line.
###Input example:
```in
5 5
1 2 3 4 5
1 2 3 4 5```
###Output example:
```out
0 1 2 3 4
```
answer:If there is no answer, please comment
###Input format:
The first line of input n and M means that there are n data in the array, and M means to find m numbers
###Output format:
All output is done in one line with no extra spaces and carriage returns at the end of the line.
###Input example:
```in
5 5
1 2 3 4 5
1 2 3 4 5```
###Output example:
```out
0 1 2 3 4
```
answer:If there is no answer, please comment