Passage
Paragraph for Questions 12 to 14
Two aliphatic aldehydes P and Q react in the presence of aqueous to give compound R, which upon treatment with HCN provides compound S. On acidification and heating, S gives the product shown below:

The compound R is