On the assumption that these coin machines produce the same denomination, try counting the coins produced by each of the ten machines and that machine that gives out the lesser number of coins would be the machine that produces coins weighing less than ten grams.
