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