Please choose the correct solution to the question: How do I seal up the gap between brick and the studs of the walls of a sunroom when making an addition to a house?

Solution1: Spray soap foam between the brick and the stud also to seal up the gap completely.

Solution2: Spray insulation foam between the brick and the stud also to seal up the gap completely.

Answer format: solution1/solution2