What will the value of `B` be at the end of execution of the following pseudocode?
```
Procedure doSomething(aList)
bDict = {}
bList = []
foreach a in aList {
if (not isKey(bDict, a)) {
bDict[a] = True
bList = bList ++ [a]
}
}
return(bList)
End doSomething
A = [4, 3, 1, 3, 4, 5, 1, 2, 7]
B = doSomething(A)
```