Question 74
Aleš, Brane and Cvetka prepared many pieces of cardboard on which they wrote one of the numbers $2,3,4,5,6,7$ and $8$. Maja, who later joined them, took three cards and stuck one on each of their foreheads. Aleš, Brane and Cvetka did not see which number was in front of them, each of them only saw the card of the other two. Maja told them: "You don't have different numbers on your foreheads, the product of all three numbers is a perfect square." Aleš, Brane and Cvetka then each determined for themselves which number they had in front. Could all three of them figure it out?