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