The ratio of money in Obi's wallet to Rudy's wallet one day was 5:2. Obi spent £20 that day. Obi now had £8 less than Rudy. How much did they have initially altogether?