Concept:This is a third conditional sentence, used for unreal situations in the past.Explanation:The sentence begins with "If I had heard", which is the past perfect form.In third conditional sentences, the main clause is formed with "would have" and the past participle of the verb.The verb here is "stayed", so the correct expression is "would have stayed".This means the speaker did not hear the news earlier, and so did not stay at home.Answer:A. would have