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