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