There are 6 baskets on the table. Each basket has 5, 4, 12, 13, 18 and 10 apples. Liam chose first, Olivia chose fifth, John chose second, Sean chose sixth, Matt chose third, and Emma chose fourth. How many apples did John and Olivia choose in total?