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