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