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