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