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