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