A chemistry student trying to detect the metallic ion in a salt, makes a paste on a clean platinum wire loop of the salt with concentrated HCl. When he takes a small amount of this paste and keeps it in a non-luminous Bunsen flame, the colour of the flame changes to grassy green.He should, therefore, conclude that the metal is
A. Ba
B. Ca
C. K
D. Sr