A D-aldopentose A is oxidized to an optically inactive aldaric acid with HNO3. A is formed by the Kiliani-Fischer synthesis of a D-aldotetrose B, which is also oxidized to an optically inactive aldaric acid with HNO3. What are the structures of A and B?