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