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