Find out the major product for the following reaction [2023]

(4)
