Level 3 3 m
In a jar, the ratio of the number of yellow balls to the number of purple balls was 1 : 3. Each time, 5 yellow and 7 purple balls were taken out of the jar. A while later, only 120 purple balls were left in the jar. What was the total number of balls in the jar at first?