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