Identify A and B in the following reaction.
A=
B=
When the given compound reacts with KCN, the chloride ion is replaced by –CN group and is further converted to primary amine by H2/Pd.