Riddle ya

Alright so heres the thing. A man goes to a doctor and the doctor says that the man is terribly ill. He prescribes him pill “A” and pill “B” and For some fucktarded reason gives him only 3 of each. To live, the man needs to take exactly one pill “A” and one pill “B” everyday. So the first day he takes the pills and lives. The second day this retard mixes the fucking pills. They’re exactly alike in every way (the pills) the texture, looks, taste; no way to tell them apart. So if he takes 2 same pills he’ll die. How does he make sure that he gets his pills right? No the answer is not go back to the doctor or take your chances.