The compound A is
At higher temperatures, 1-4 addition takes place since it is thermodynamically favoured.