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