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