Jamal bought a diamond ring at a 20% discount. He paid $2640 for the ring. Naomi bought a similar ring but was given a discount of $924. What was the percentage discount given to Naomi?