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