Identify the product (P) in the following reaction: [2024]

(3)
This is Hell-Volhard-Zelinsky reaction