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