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