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