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