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