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