https://tutorial.eyehunts.com/java/3-glasses-and-10-coins-puzzle/
3 Glasses and 10 Coins Puzzle