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