A shop spent $5,704 to buy coffee mugs. If each mug costs $46, how many mugs did the shop buy?