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