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