Masha had 20p scoops of ice cream and Liz had 180 scoops of ice cream. After they each ate an equal number of scoops, the ratio of the number of scoops that masha had remaining to number of scoops liz had remaining was 3:2. How many scoops did they each eat?