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