Consider the following pseudocode. What will the value of `B` be at the end of execution?
```
A = [3, 8, 15, 6, 10, 5]
B = []
foreach number in A {
if (checkCondition(number)) {
B = B ++ [number]
}
}
Procedure checkCondition(X)
if (X == 1) {
return(False)
}
j = 2
flag = True
while (j < X) {
if (remainder(X, j) == 0) {
flag = False
}
j = j + 1
}
return(flag)
End checkCondition
```