I have a list of 10 items, and another list of 10 randomly not repeated numbers as following:

```
l = [a,b,c,d,e,f,g,h,i,j]
m = [1,4,5,9,2,6,3,7,8,10]

```

I want to rearrange `l`, so that each item in `l` takes its corresponding index from `m`.

For example, `b` should become the fourth and `e` sould become the second.

I'm really stuck at the algorithm and the logic bugs me, so I don't have any idea on how to approach thi.

How can I do that?