A small, low-caliber bullet has entered individual's chest at an angle, through the right lung and then the heart. It is now lodged in heart muscle. The surgeon will have to open some closed cavities of the body and enter those spaces to remove the bullet. What is the order of the cavities and the correct cavities that the surgeon will have to open (starting from the outside)?