The number of apples of An, Binh, and Chi are the same. An gave away 17 apples, Chi gave away 19 apples, so now Chi's apples are 5 times higher than the total remaining apples of An and Binh. How many apples did each of you have at first? (Solve the above problem by equation or system of equations)