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