The reaction of an element A with water produces combustible gas B and an aqueous solution of C. When another substance D reacts with this solution C also produces the same gas as B. D also produces the same gas even on reaction with diluteH2SO4 at room temperature. Element A imparts a golden yellow colour to the bunsen flame. Then A, B, C and D may be identified as :