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