The ratio of guppies to angelfish in a shop was 2:3. The number of angelfish was 2/3 the number of goldfish. The shopkeeper decided to replace 1/4 of the guppies with some angelfish. The number of angelfish she added was equal to the number of guppies she replaced. There were 30 more goldfish than angelfish in the end. How many guppies were in the shop in the beginning?