Ben, Jack and Emma were playing a game with a box of $40$ counters - they were not using all of them. They each had a small pile of counters in front of them.

All at the same time Ben passed a third of his counters to Jack, Jack passed a quarter of his counters to Emma and Emma passed a fifth of her counters to Ben.

They all passed on more than one counter.

After this they all had the same number of counters.

How many could each of them have started with?