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