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