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