Consider the procedure discussed above. What will the value of M be at the end of the execution of the given pseudocode below?
```
L = [8, 12, 13, 23, 11, 40]
M = []
position = 1
foreach element in L{
if(dosomething(position) and dosomething(element)){
M = M ++ [element]
}
position = position + 1
}
```