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