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