D-Erythrose and D-threose are separately reduced with NaBH4 to give the products (A) and (B), respectively.