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