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