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