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