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