You are an expert at summarizing long articles. Proceed to summarize the following text: 
prince rainier of monaco left hospital on tuesday after undergoing heart surgery at the end of last month , officials said .
prince rainier leaves hospital after heart operation