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