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