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