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