Compound R is a useful intermediate in the synthesis of pharmaceutical compounds. It can be made from compound P by the following route.

Suggest structures for the starting material P and the intermediate Q.
Suggest reagents and conditions for the following steps in the above scheme. step 1 step 2 step 4
















