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