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