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