Given compound (A) upon treatment with
KMnO4/H+ gives (B), which on heating with ammonia produces (C). (C) on treatment with
Br2/NaOH produces (D). Strongly heating (C) produces (E) which on further reatment with ethyl 2-bromoacetate in the presence of
KOH followed by acidification gives (F).
(D) is: