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