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