Three friends, Alice, Bob, and Charlie, decided to compare their ages. Alice is twice as old as Bob, and Bob is 5 years younger than Charlie. If Charlie is 25 years old, calculate the average age of the three friends. Let's think step by step and output the final answer within \boxed{}.
user