Compounds A and B are functional isomers. 'A' exhibits metamerism while 'B' does not. The preceding homologues of 'A' do not have metamers. When 'B' is heated with ammoniacal silver nitrate, shining silver mirror is formed along the inner walls of the test tube. Identify A and B and justify.