The major product ‘P’ for the following sequence of reactions is: [2023]

(4)
