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