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