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