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