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