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