A company had 500 employees at the start of the year. During the year, the company hired 15% more employees. However, by the end of the year, 10% of the total employees (including the new hires) left the company. How many employees did the company have at the end of the year? Let's think step by step and output the final answer within \boxed{}.
user