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