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