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