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