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