Q and R in the following sequence of reaction