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