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