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