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