A new robotic toy was selling for $24 before it become very popular. The store raised the price by 25%. What was the cost of the toy after the markup?