I have a list that contains many values like 

```
mylist = [4361, 4868,4878, 5395, 5940, 6539, 6544, 7164 ]

```

In case I have values that have difference less than 80, like `4868,4878` I want to exclude the second one and keep only `4868` and **get the indexes** of the those that are deleted.

The new resulted list will be 

```
my_list = [4361, 4868, 5395, 5940, 6539, 7164]

```

Is there an easy way to achieve this?