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