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