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