Cybriant interview question

8 coins question