Pedro went on vacation for 5 days his meals cost 10$ a day, his share of hotel cost 25.25$ a day, and the plane fare was 350$. What was the total cost of his trip?