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