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