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