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