Sarah and Emma have a total of 90 candies. After Sarah gave 10 candies to Emma, they both had the same number of candies. How many candies did Sarah have at first? Let's think step by step and output the final answer within \boxed{}.
user