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