mary won £5000 in a competition .she used the money to pay for herself and 8 friends to go on a holiday. Flights cost £279 for each of them. Accommodation costs £184 for each of them. how much of the £5000 did she have left after paying for flights and accommodation for herself and the 8 friends