Nearly all of life's questions, and most of the suggested answers, can be found in science fiction movies.
Oracle: "I'd ask you to sit down, but, you're not going to anyway. And don't worry about the vase."
Neo: "What vase?" [Neo knocks over a vase of flowers, which shatters on the floor.]
Oracle: "That vase."
Neo: "I'm sorry..."
Oracle: "I said don't worry about it. I'll get one of my kids to fix it."
Neo: "How did you know?"
Oracle: "Ohh, what's really going to bake your noodle later on is, would you still have broken it if I hadn't said anything?"
There is no contradiction in predicting the future in certain circumstances. Certain things are deterministic. If you have adequate information you can predict certain things with great accuracy. This includes brain structure and activity within limits. The brain is a material structure that obeys physical laws.
Ordinarily it is difficult to get adequate information to make the sort of prediction your question implies. Even to get an edge where you could predict accurately enough to make some money would probably require some kind of brain scanning headgear, and a lot of practice and tuning of a very sophisticated model.
But to get it once is not a problem. Mentalist acts have many variations on this.
"LOOK! What's that over there!" (Switches cards.)
"What? What's over there?"
"I'll tell you later. But first, choose your card."