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