On the basis of the position in the electrochemical series, the metal which displaces hydrogen from water and acids is :