Q. A carbonyl compound P (from i-iii), which gives positive iodoform test, undergoes reaction with MeMgBr followed by dehydration to give an olefin Q. Ozonolysis of Q leads to a dicarbonyl compound R, which undergoes intramolecular aldol reaction to give predominantly S.
1.The structure of Q and R are respectively: