In the reaction gives below,R−Cl(i)KCN,(ii)LiAlH4−−−−−−−−−−−−→ProductAR−Cl(i)AgCN,(ii)LiAlH4−−−−−−−−−−−−−→ProductBThe compounds A and B are: