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