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