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