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