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