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