It was found that metal P reacts with dilute hydrochloric acid to form respective salts along with the evolution of a gas which burns with a pop sound. Further experiment on metal P concluded that, it can react with bases too. From the given options, identify metal P.