In the following reactions products (A) and (B) respectively