Max has a bag with 45 candies. He wants to distribute these candies equally among his 4 friends, and keep the remainder for himself. How many candies will each friend receive, and how many candies will Max have left? Let's think step by step and output the final answer within \boxed{}.
user