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