Number the bags 1 to 8
Take out 0 (no coin from the first bag), 1 coin from the second bag etc., 2- from 3rd, 4- from 4th, 7- from 5th, 13- from 6th, 24 - from 7th and 44 coins from the last, 8th bag. Total of 95 coins.
Each triple is unique enabling an easy way to identify the bags with fake coins