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