Convertible Header Moulding

I used the foam sealer strip they sell for sealing up window air conditioners to the window frame. They sell it at any hardware or big box store for about $5