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