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