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