https://funciogamma.su/problema-6/
Problema 6