There are 6 baskets on the table. Each basket has 0, 10, 4, 14, 16 and 12 apples. Liam chose second, Emma chose sixth, Sean chose third, John chose fourth, Olivia chose first, and Matt chose fifth. How many apples did John and Liam choose in total?