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