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