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