Take box B only. This computer knows how to read your neurons, and if I take both boxes, it will have predicted that, and box B will be empty. But if you only take box B, it will have predicted that too, and it will have $1,000,000 in it. So you should've definitely take box B only.
I'm sure there was a good reason you choose both boxes. But to resolve the paradox, you need to explain why this explanation is wrong, not why your reasons for choosing both boxes is right. Can you do it?