Questa è la soluzione più bella che abbia visto finora (da @josusanmartin) ma non è ottimale (punteggio 3.002)