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