Updated to match "Apuestas V" exercise