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