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.
![](https://df0b18phdhzpx.cloudfront.net/ckeditor_assets/pictures/1338027/original_028.png)
1.The structure of Q and R are respectively: