https://medium.com/@josmanuel.dominguez/aprende-este-algoritmo-mayor-y-menor-de-una-serie-de-n%C3%BAmeros-bafa11f51b95