Reagent (A) and (B) in the above reaction are:
As refer to the above image, Peroxide is required . So, A is RCO3H and Ozonolysis here shown after that so, B is O3.